MySQL Forums
Forum List  »  Newbie

Re: insert current_user() by default
Posted by: Peter Brawley
Date: February 13, 2013 09:38PM

You can default timestamp as shown. As the example shows, you cannot default a value of current_user(). If you wish to automate it, write a Trigger.

Options: ReplyQuote


Subject
Written By
Posted
Re: insert current_user() by default
February 13, 2013 09:38PM


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.