IBM Education Assistant: Websphere All Product
http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp
Business Process Choreographer samples
http://publib.boulder.ibm.com/bpcsamp/index.html
Monday, October 1, 2007
DB2 Tips
Question: How to get Current Date in DB2?
Ans: select current date from sysibm.sysdummy1
Same way we can get current time and timestamp using following command
"current time" and "current timestamp"
Alternatively we can use following commands
values(current date)
values(current time)
values(current timestamp)
to get current Date, Time and Timestamp
-> To see maximum active agent:
db2 get dbm cfg | grep "(MAXAGENTS)"
-> To see maximum application connected to a particular database:
db2 get dbm cfg forREPLACE_WITH_DB_NAME | grep "(MAXAPPLS)"
Ans: select current date from sysibm.sysdummy1
Same way we can get current time and timestamp using following command
"current time" and "current timestamp"
Alternatively we can use following commands
values(current date)
values(current time)
values(current timestamp)
to get current Date, Time and Timestamp
-> To see maximum active agent:
db2 get dbm cfg | grep "(MAXAGENTS)"
-> To see maximum application connected to a particular database:
db2 get dbm cfg for
Subscribe to:
Posts (Atom)