Re: VARCHAR DEFAULT 'user' to record current user name
I've not heard of that. Up to mysql 8 ...
drop table if exists t;
create table t(u varchar(64) default current_user(), i int);
insert into t set i=1;
select * from t;
+------+------+
| u | i |
+------+------+
| user | 1 |
+------+------+
Subject
Views
Written By
Posted
1922
October 23, 2017 11:40AM
883
October 23, 2017 11:55AM
Re: VARCHAR DEFAULT 'user' to record current user name
721
October 23, 2017 01:02PM
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.