-
equivalent MySQl to dateInsert SMALLDATETIME NULL DEFAULT getdate()
I am looking for the equivalent of MS SQL
dateInsert SMALLDATETIME NULL DEFAULT getdate()
for mySQl 5
i am trying
dateInsert DATETIME NULL DEFAULT NOW()
but it doesnt work
thank you for helping
-
Did you read MySql manual?
-
the manual is very long to read, the forums are helpfull for a special problem
dateInsert TIMESTAMP
will update every time the row is changed, it is not what i want , i want to store the INSERT date once for each row
Last edited by anselme; 12-24-2007 at 01:42 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|