You are here: novice: char to varchar « PHP « IT news, forums, messages
novice: char to varchar

Posted by "tony yau" on 10/20/26 11:16

Hi all,

I try to do the following:

CREATE TABLE IF NOT EXISTS Invoice(
PKey INTEGER,
Received DATETIME,
Cost DECIMAL(10,2),
FileName VARCHAR(50),
RefNum CHAR(10),

PRIMARY KEY (PKey)
) TYPE=MyISAM COMMENT='Invoice Data';

but it keep generating RefNum VARCHAR(10) instead of CHAR(10)

I don't understand, please help (or point me to RTFM page)
Tony Yau

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация