troubleshooting Question

add a timestamp column into table in db2

Avatar of lilyyan
lilyyan asked on
Java
13 Comments2 Solutions482 ViewsLast Modified:
hello,

i just added one more column called submittime and the data type is timestamp into a table.
my question is: in the table which already has some recordes, only the column submittime is empty, is there a simple way i can insert the current time into the table for existed records? for example:  update the column submittime through db2controlcenter? or command line?

my application is a java application, maybe i need to upadate it through the application one by one?

basically what i want to do is: insert only the current time value for column submittime, and other columns will keep the origional value

thanks for your reply asap,

lilyyan
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros