Could you please let me no the query for below
I have table name xyx under this there is column name called employee name which starts from 100th column ends 120th column,now i want to replace only column from 101 to 104 which contains ABCS to replace with PQRS for all records which comes beetween 101 to 104 ..how to write query for this..
Answer / devika
update XYZ
set empname(2,4) = 'PQRS'
where substr(empname(2,4))='ABCS'
Is This Answer Correct ? | 3 Yes | 0 No |
what are the copybook changes generally we done?can anyone tell me......... Thanks in advance........
Mention the different locking levels that are available in db2.
What is the purpose of the SDSNLOAD dataset in the STEPLIB while running DB2 programs?
How do you Load a table ?? and what is Load replace ?
What is a root page?
What is db2 look?
What is db2?
Is it possible using max on a char column?
How many clustering indexes can be defined for a table?
can we drop column from a table
What is IMAGECOPY ?
Mention the various locks that are available in db2.