i have some doubt regarding some question in DB2.
plz explain these question in detail.
1. why SELECT* is not preferred in embedded SQL?
2. what are the issues related with correlated subqueries?
3. give the COBOL Definition of a VARCHAR field?
4. THE PHYSICAL STORAGE LENGTH OF DATE,TIME,TIMESTAMP ARE 4BYTES,
But their cobol picture clause are DATE-->pic x(10), time-->pic x(8)
here x(10) means 10 characters i.e 10 bytes.
x(8) means 8 characters i.e 8 bytes.
x(26) means 26 characters i.e 26 bytes.
then what is the compatibility between physical storage length of these three datatypes
and picture clause declared in cobol?
select * is not used in embedded sql because other can also view, select, update the same table. so it will lead to some error values thats why it not used . where as there is high risk of loosing our data