mysql int(8)

by "Keith D Sellars" <Keith(at)webgraffix.com>

 Date:  Wed, 26 Mar 2003 09:54:39 -0500
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
I have a quick question.  If I have a database that has a column designated
as int(8), I know that this limits the characters to 8 digits, but does it
restrict characters to whole numbers?  I'm trying to enter a value of 3.50
through phpMyAdmin, but it keeps entering it as 3.

Do I need to designate the column as varchar(8) instead to accomplish this?

Thanks,
Keith D Sellars
WebGraffix
www.webgraffix.com

"Making database sites seem easy"

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.