How can you display the current date & current time ?
Answer Posted / chandrika
Exec sql
set :ws-current-date to current date
End exec
display 'current date' ws-current-date.
Exec sql
set :ws-current-time to current time
End exec
display 'current time' ws-current-time.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How to find primary key of a table in db2?
What is the default page size of buffer pools?
What is cascading rollback?
List out the three types of page locks that can be held.
How do I import data from excel to db2?
What is consistency token in db2?
Define db2.
What is reorg?
How to find the number of rows in a db2 table?
Explain about mirror activator disk mirroring?
How to access db2 tables in mainframe?
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.
What is the role of schema in the db2 database?
What is cursor with hold option in db2?
What is the result of open cursor statement?