U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Creating a TIMESTAMP column in MySQL
Re: Creating a TIMESTAMP column in MySQL [message #32220 is a reply to message #32216] Sun, 01 May 2011 20:08 Go to previous messageGo to previous message
zsolt is currently offline  zsolt
Messages: 705
Registered: December 2005
Location: Budapest, Hungary
Contributor
Hello, I don't know, what that TIMESTAMP(ts) is for, but you can use something like
COLUMN  ("timestamp", Time, RECORD_CREATED, 0, 0) NOT_NULL SQLDEFAULT(CURRENT_TIMESTAMP)


BTW any idea fom anybody about that TIMESTAMP(ts) macro in MySqlSchema.h?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MySqlSession::GetTransactionLevel() implementation
Next Topic: fetch not reading into struct
Goto Forum:
  


Current Time: Fri Oct 09 09:30:38 GMT+2 2026

Total time taken to generate the page: 0.02236 seconds