Suppose we have a query for update
update table1
set col1 = 'val1'
where col2=(select .... from ...)
suppose the subquery does not return any record, what will
happen to update?
Answer / santosh kumar d
If the col2 field having any null value then that value to
be updated.
If col2 doesn't have any null value then record remains same
nothing will be updated.
| Is This Answer Correct ? | 4 Yes | 6 No |
What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?
In cobol+DB2program if the code of cobol program has changed than i have to do precompilation once again?
what is the role of the cursor in db2?
How can you display the current date & current time ?
How and when does the db2 enforces the unique key?
What is SPUFI?
I have a table name Table1 which contain columns Cust_no, car_model, country, salesamt. The records are 101, Fiat, India, 12345 2nd record is 102, Tata, USA, 98743 3rd record is 101, indica, India, 65342 4th record is 103, Toyota, UK, 64522 5th record is 103, Maruti, USA, 98632 and so on..... Now my question is write sql query which will give me detail about the sum of sales amount in perticular country
What is the difference between CS and RR isolation levels?
What is an asychronous write?
What is dynamic SQL?
can any body explain about plan and pakage in detail....
What's The Error Code For Unique Index Voilation?