php-db | 2000121
Date: 12/08/00
- Next message: Juergen Hall: "[PHP-DB] SQL : Uppercase Table Names Problem"
- Previous message: Sanders, Nicholas: "RE: [PHP-DB] RPM install of PgSQL"
- Next in thread: Leonard Tambunan: "Re: [PHP-DB] 'date' data-type"
- Reply: Leonard Tambunan: "Re: [PHP-DB] 'date' data-type"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all:
I seem to be having trouble specifiying a field length for my 'date'
data type in the mysql shell.
I'm using mysql-3.22.32
mysql>create table my_table (theDate date (8)); //This is not my
actual table but the date part exists in it as outlined above.
mysql outputs it's usual: You have an error in your SQL syntax near '(8))' at line 1
I am thinking that it uses the same syntax for assigning a length value
as does varchar or int etc etc, what's wrong - anyone??
Russ
--------------------------------------------
"Believe nothing - consider everything"
Russ Michell (APU webteam)
r.j.michell <email protected>
ext 2331
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Juergen Hall: "[PHP-DB] SQL : Uppercase Table Names Problem"
- Previous message: Sanders, Nicholas: "RE: [PHP-DB] RPM install of PgSQL"
- Next in thread: Leonard Tambunan: "Re: [PHP-DB] 'date' data-type"
- Reply: Leonard Tambunan: "Re: [PHP-DB] 'date' data-type"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

