What is read-only cursor?
Answer / s
Read-only cursor is a cursor that is defined with FOR FETCH
ONLY clause. The curosor is defined with SELECT, SELECT
INTO.
Is This Answer Correct ? | 2 Yes | 4 No |
List down the data types in the db2 database.
How do you Load a table ?? and what is Load replace ?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
What is a cursor and what is its function?
1. what if null values retrived from database and no null indicator mentioned in query. What is sql code.
I have a main program (A) where we delete some rows in table in a cursor, and we commit it in sub program(B). What will happen - will we get an error or not?
Is it possible to precompile if db2 goes down?
What is consistency token in db2?
Select empno, sal from emptbl where empno < 101.By this query can we fetch first 100 recs? where empno is primary key.It won't throw -811 error? if it wont,then what is use of cursor technique while fetching first 100 recs. Please need more clarification.
What is explain plan in db2?
What is a dbrm in db2?
I am having n number of records in a table which consists of emp-name is one of the field among them. Now i want to change the first letter of every name with capital.