MySQL Forums
Forum List  »  Newbie

Re: Problem creating a table
Posted by: Umesh Shastry
Date: June 16, 2005 09:31AM

Hi!!

Try this..put ' around CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP

i.e 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'

just copy below text..


CREATE TABLE `gl_weather_forecast` ( `timestamp` timestamp NOT NULL default 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
`cache` text,
`zip` varchar( 5 ) default NULL ,
UNIQUE KEY `zip` ( `zip` ) ) TYPE = MYISAM;

Regards,
Umesh Shastry
http://www.blogger.com/profile/02551756983528645221

Options: ReplyQuote


Subject
Written By
Posted
June 16, 2005 08:29AM
Re: Problem creating a table
June 16, 2005 09:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.