The dt_drive column will have the default value as the system date

Asked

Viewed 14 times

0

I have a script in oracle that inside a table called "move" there is a column called "dt_move" and inside this column there is the DATE value i would like to change this value to the date of the system with the alter table more can not

I’m using

ALTER TABLE tb_motion Modify (dt_sysdate drive) AND DOES NOT WORK

someone knows how I solve this poblema

  • Try: ALTER TABLE tb_movimentaçao MODIFY (dt_movimentaçao DEFAULT SYSDATE), then the records included in the table will contain the date of the system at the time of inclusion. If that’s not what you want to explain better.

  • DATE is a type , a data type. SYSDATE is an operator that returns the current date and time of the Server.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.