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...

DB2 Interview Questions
Questions Answers Views Company eMail

What is dbrm? When it will be created?

1029

Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1080

What is dbrm? What it contains?

1163

What does sqlcabc has?

1054

What is the difference between cursor stability and repeatable read isolation levels?

1174

How to execute stored procedures?

1130

What is sqlca?

1074

Are view updateable?

1043

How and when does the db2 enforces the unique key?

1083

What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1185

What is dbrm? What it contains? When it will be created?

1050

What is the difference between spufi and qmf?

1130

What is the max length of sqlca?

1216

What are the bind parameters ibm db2?

1053

what are bind concepts in db2 cobol?

1092


Post New DB2 Questions

Un-Answered Questions { DB2 }

What is bind in db2?

1042


What is db2 command?

1036


How to check sequence on a table in db2?

1060


What is the meaning concurrency in the db2 database?

1110


What is difference between isnull and coalesce?

1054


What types of tables are there in the db2 database?

1056


How do you concatenate the firstname and lastname from emp table to give a complete name?

1076


Mention data types used in db2 ?

1156


Is db2 a mainframe?

1043


Which component is responsible for db2 startup and shutdown?

1035


What is the use of commit in db2?

1081


What is lock escalation in db2?

1031


What is a storage group (stogroup)?

1246


What is with ur in db2?

1316


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2671