Jump to content
Larry Ullman's Book Forums

Sql Timestamp Error When Creating Users Table


Recommended Posts

Hello Larry, Thanks for another great book.

 

When I try to create users table for pdf store, I get an error:

 

'ERROR 1293 (HY000): Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause'.

 

I tried couple times get the exactly same error. Is that mysql doesn't allow creation of two TIMESTAMP in two columns (date_created & date_modified) ?

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...