brearley147 Posted January 19, 2008 Share Posted January 19, 2008 This is for mysql but i thought u guys would know, please can u tell me what is the problem here for this table. CREATE TABLE bank ( id int(11) NOT NULL auto_increment, `date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, sendby varchar(20) NOT NULL default '', sendto varchar(20) NOT NULL default '', amount varchar(20) NOT NULL default '', PRIMARY KEY (id) ) ENGINE=MyISAM AUTO_INCREMENT=3067 DEFAULT CHARSET=latin1; Thanks, Ash Quote Link to comment https://forums.phpfreaks.com/topic/86781-help-on-a-mysql-table/ Share on other sites More sharing options...
revraz Posted January 19, 2008 Share Posted January 19, 2008 My guess would be `date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, I never seen a create command with a on update setting. Quote Link to comment https://forums.phpfreaks.com/topic/86781-help-on-a-mysql-table/#findComment-443566 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.