Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ SQL
»
Creating a TIMESTAMP column in MySQL
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Creating a TIMESTAMP column in MySQL
[
message #32213
]
Sun, 01 May 2011 16:46
bushman
Messages:
134
Registered:
February 2009
Experienced Member
Hi, all!
Is there any .sch file macro for CREATEing a column like
'`my_column_id` TIMESTAMP NOT NULL
DEFAULT CURRENT_TIMESTAMP
'
in a MySQL DB?
Is it what MySqlSchema.h macro TIMESTAMP(ts) does, i.e. creates a column that defaults to CURRENT_TIMESTAMP?
If so, could anyone give me an example on how to use it?
I've tried
TIME_ (MY_COLUMN_ID) TIMESTAMP("CURRENT_TIMESTAMP")
,
it compiled fine, but the resulting CREATE TABLE statement defaults column to NULL.
I've searched the documentation and this forum but couldnīt find anything.
Thank you all in advance!
Report message to a moderator
[
Message index
]
Creating a TIMESTAMP column in MySQL
By:
bushman
on Sun, 01 May 2011 16:46
Re: Creating a TIMESTAMP column in MySQL
By:
bushman
on Sun, 01 May 2011 18:23
Re: Creating a TIMESTAMP column in MySQL
By:
zsolt
on Sun, 01 May 2011 20:08
Re: Creating a TIMESTAMP column in MySQL
By:
bushman
on Sun, 01 May 2011 22:00
Re: Creating a TIMESTAMP column in MySQL
By:
zsolt
on Mon, 02 May 2011 09:03
Re: Creating a TIMESTAMP column in MySQL
By:
bushman
on Mon, 02 May 2011 17:53
Re: Creating a TIMESTAMP column in MySQL
By:
mirek
on Wed, 04 May 2011 20:01
Previous Topic:
MySqlSession::GetTransactionLevel() implementation
Next Topic:
fetch not reading into struct
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
U++ and AI
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Wed May 14 00:32:14 CEST 2025
Total time taken to generate the page: 0.03580 seconds