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 |
Is DECLARE TABLE in DCLGEN necessary? Why it used?
Once you create a view, where would information about the view be stored?
How can you do the explain of a dynamic sql statement?
What are PACKAGES ?
What is the maximum size of varchar data type in db2?
How connect db2 database to datastage?
how can u retrieve the data from null values using applicaion program.
What is db2 optimizer?
What are the disadvantages of PAGE level lock?
What is package in db2 mainframe?
What is a Cartesian product?
What are types of indexes?