What is copy book?
Answer / rana
Copybook is the Facility provided to programmer for putting
the variables or COBOL Code which is common to many
programs. This helps programmer to optimize the code and
able to write the error free code.
Copybook gets included into the program at the time of
compilation from the PDS.
| Is This Answer Correct ? | 12 Yes | 1 No |
Suppose if I need to update a column, how you do that using cursor?
Is it Possible to declare or create a cursor for UPDATE of table? If yes tell me how? If no Tell me why?
Is it possible to update a primary key value? If not, what is the error code given? If yes, can more than 1 primary key column be updated at a time?
wht is d/f b/w inner join and outer join ? d/f group by and order by having by ?
Define db2.
How to find the number of rows in db2 tables?
List some fields from sqlca?
what types of copies can be made with the COPY Utility ?
For unmatched rows returned from an outer join, the column values in the other table are set to null e.g If A OUTER JOIN B returns some unmatched rows from A, the corresponding column values in B will be set to null. What can be done so that a null value is not displayed for these columns?
What if we try to insert the base table through updatable view , but failed to give a column value which is defined as NOT NULL.
What is a cursor in programming?
Shall i use this query to retrieve first 4 records, Select empno, sal from emptbl where empno < 5. like this can we fetch first 100 records?