on update table how to save current user?
I want to add 1 column into existing table to store the login name when the data has been updated.
works fine with current_timestamp
alter table `lbs`.`comp_yearly_qty_1`
add ts timestamp on update USER();
but does not work with user() function:
alter table `lbs`.`comp_yearly_qty_1`
add tsuser VARCHAR(45) on update USER();
how to do this?
Subject
Views
Written By
Posted
on update table how to save current user?
3160
March 10, 2011 08:44AM
1577
March 10, 2011 09:07AM
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.