Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to get the ddl of a table in db2?

1127


What db2 400?

1180


Which components manage deadlocks in db2?

1064


What is the picture clause of null indicator variable?

1136


Which command is used to connect to a database in DB2 ? Give the Syntax.

1102


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

1188


Which component is responsible for db2 startup and shutdown?

1033


How do you concatenate the firstname and lastname from emp table to give a complete name?

1073


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

1235


How do I import a csv file into db2?

989


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

1274


Mention the downsides of page level lock.

1159


What is the default page size of buffer pools?

1122


What is the clustering index in the db2 database?

1001


What's The Percentage Free Space ?

1224