0

I am making a table which will be filled with records uploaded from other devices and I want to make a column which value is the user, who uploaded it.

I know I can get the actual user with select CURRENT_USER(); , but can not make that user varchar(20) by selecting it like: user_id varchar(20) default select CURRENT_USER() LIMIT 1

Janny
  • 681
  • 1
  • 8
  • 33

0 Answers0