Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?





Suppose we have a query for update update table1 set col1 = 'val1' where col2=(select..

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

Post New Answer

More DB2 Interview Questions

How would the varchar column remarks defined?

0 Answers  


WHAT IS MEANT BY COMMIT COMMAND?

7 Answers   Wipro,


What does reorg do in db2?

0 Answers  


How to access db2 tables in mainframe?

0 Answers  


what needs to be done if a table is in copy pending / check pending status?

5 Answers   Xansa,


Which isolation level provides highest data integrity?

0 Answers  


How do I delete a table in db2?

0 Answers  


how do u update the faltfile into db2 table ?

4 Answers   RBS, TCS,


what is REORG? what is the use?

4 Answers  


How do I create a table MANAGER (EMP-NO, MANAGER) where MANAGER is a foreign key which references to EMP-NO in the same table? Give the exact DDL.

3 Answers  


My SQL is not performing well. Describe how will you fine tune it?

1 Answers   Accenture,


What is a DBRM, PLAN ?

3 Answers  


Categories