I HAVE 2 TABLES ONE IS EMP_TABLE AND ANOTHER DEPT_TABLE.EMP_TABLE CONTAINS NAME,DEPTNO,DEPTNAME,LOCATION AND DEPT_TABLE CONTAINS DEPTNO,DOJ(DATE OF JOINING).I WANT TO DISPLAY NAME,DEPTNAME,DOJ AND WHO ARE JOINED BETWEN 01- JAN-2007 TO 01-JAN-2008?
6 11084In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/no why ?
2 7974There is a 5000 EMP in company.how we find out the 5th highest getting salary employee outof 5000 employes........
IBM,
10 17400insert into tablename a column1, column2 select column1, column2 from tablename b i am getting abend -104..can any one help?
3 9612I want to fetch the 10th row of a table which has been changed.How can I do it without going thru all the rows.
5 10536I am getting a error multiple row fetched while executing a Cobol-DB2 program.How can I solve it without using a cursor.
8 20640A Table feild is declared as Decimal(7,2). I want to insert the decimal in to this column thru cobol-db2 program. How should I declare my local input file variable or any suggestion?
IBM,
7 18938
What do you mean by rollback?
What is the syntax for FETCH in DB2 ?
What is dbrm? What it contains? When it will be created?
Mention the location where the output received from explain statement is stored.
What is temporal table in db2?
Define buffer pool.
How do I add a column to a table in db2?
Can we insert update delete in view?
What is meant by union and union all?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
What is page size in db2?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is meant by explain?
My sql statement select avg(salary) from emp yields inaccurate results. Why?
How do I optimize a query in db2?