Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 702
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: Tue May 13 23:56:29 CEST 2025

Total time taken to generate the page: 0.00513 seconds