wht are the restrictions for union ?

Answer Posted / sunil

there should be no duplicates in the tables.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the contents of a dclmgen?

620


What are host variables in db2?

609


When reorg is used?

661


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2313


What are packages in db2?

584






What is the physical storage length of date data type?

714


Can you use max on a char column?

628


What is a system catalog table in db2?

568


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.

2136


what is utility for parm lib

1859


Why do we bind in db2?

605


How to find primary key of a table in db2?

596


How to take backup of table in db2?

587


How is deadlock resolved?

638


What is concurrency?

695