Link to home
Start Free TrialLog in
Avatar of Troy Hall
Troy HallFlag for United States of America

asked on

Insert current timestamp into time stamp column with sql statement

How can I insert the current timestamp in to a timestamp column with the insert sql statement?  

I have tried:

insert into schema.table 

values(current_timestamp);


As well as "current time" , current_time, current_date, current date.  No luck.

Thanks.  Troy 

Avatar of Norie
Norie

Troy

Which column do you want to insert the current timestamp into?
Avatar of Troy Hall

ASKER

a column defined as type "Z", is a timestamp column. Thanks
ASKER CERTIFIED SOLUTION
Avatar of Robert
Robert
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial