MySQL Forums
Forum List  »  Newbie

Initializing a field with system_user()
Posted by: JK Heydt
Date: July 12, 2020 07:28AM

Is there a way to default a field to system_user() or substring_index(system_user(),'@',1)

When I put it in the Default field, it puts marks around it: 'SYSTEM_USER()' and inserts the literal text 'SYSTEM_USER()' instead of the actual user name.

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Initializing a field with system_user()
July 12, 2020 07:28AM


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.