MySQL Forums
Forum List  »  Newbie

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

drop table if exists t;
create table t(t timestamp, u char(128));
insert into t (u) values(current_user());
select * from t;

Options: ReplyQuote


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


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.