Hi,
You can suppress the column heading and rowcount by executing the query using the following command from CLP
DB2 -x "SELECT * FROM ANYTABLE"
By,
Thangam
Hi,
In DB2,Format function is not available.By default the date format is mm/dd/yyyy
If you want to have different format,you can use the following
LTIRM(RTRIM(CHAR(DAY(l_date))))||LTIRM(RTRIM(CHAR(MONTH(l_date))))||LTRIM(RTRIM(CHAR(YEAR(l_date)))
The above one is just a example.If you...
Hi,
Did you try to increase applsz parameter values?.
It defines the number of private memory pages alloted for application by the database manager on behalf of the specific agent(Agent coordinates for processing the application request and makes the comunication between the application and...
Did you try to increase applsz parameter values.
It defines the number of private memory pages alloted for application by the database manager on behalf of the specific agent(Agent coordinates for processing the application request and makes the comunication between the application and...
Hai,
We have CASE expression in DB2 as workaround for DECODE Function in Oracle.
Eg.
Select DECODE(Name, 'XXX','My Name','Your Name') from TableName;
Select CASE NAME WHEN 'XXX' THEN 'My Name' ELSE 'Your Name' END from TableName
I hope,The above eg. will help you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.