wht is d/f between union and joins ?
Answers were Sorted based on User's Feedback
Answer / amarnath reddy
use unions, merge the rows from morethan one table.
Ex: select accno.,accname from bank1;
union
select accno.,accname from bank2;
use Joins, merge the columns from morethan one table.
Ex: select i.accno., d.bcode from banktab i, dtlstab d
where i.bcode=d.bcode;
| Is This Answer Correct ? | 4 Yes | 1 No |
What is the COBOL picture clause for a DB2 column defined as DECIMAL(11,2)?
How to restart a DB2 program?
What is JOIN and different types of JOIN.
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
how to resolve -805. give clear explination for that
Explain the use of the WHERE clause.
What DB2 Catalog column tell you when an index needs table reorganized ?
Give a brief description of db2 isolation levels?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
What is an intent lock?
What is the purpose of rollback and commit?
cursor with hold explain ?