MySQL Forums
Forum List  »  Newbie

Re: Can't create NOT NULL timestamp
Posted by: Bob Woodward
Date: September 05, 2015 02:53PM

I think I understand your requirement. This might not be an elegant work around but could you take the default without the time adjustment then create a second attrigute that uses the timestamp. First attribute could be called 'modTime' and the second one could be your 'startTime'. modTime would get the actual default of timestamp and startTime would just add the amount of "future time" you want.

Bob

Options: ReplyQuote


Subject
Written By
Posted
September 02, 2015 10:53AM
Re: Can't create NOT NULL timestamp
September 05, 2015 02:53PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.