How do you retrieve the first 5 characters of firstname column of db2 table emp?
Answer / ankit
Select substr(firstname,1,5) as firtname from emp;
Is This Answer Correct ? | 0 Yes | 0 No |
Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?
How to resolve -818 sql code in DB2?
When DB2 connection fails, will online program work or give errors.
What techniques are used to retrieve data from more than one table in a single SQL statement?
What do you mean by commit and rollback?
Can you use a select query in a loop to fetch multiple rows? If so what is the advantage of using a cursor?
What happens to a cursor after a commit?
Explain in brief how does db2 determine what lock-size to use?
What is lock escalation?
how to fetch first 100 rows in db2
in my table i will update only 100 record among 1000 records i need to display recently updated record'.....can u tell me where those records are stored how can i display those records...?if there is any sql query pls let me know....?
How to define the data items to receive the fetch items for the SQL?