Hi Dude,this is Ram.could any one tell me aboue CURRENT OF
clause in DB2.
Thanks in advance.......

Answers were Sorted based on User's Feedback



Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.........

Answer / narayana reddy

current of is using in cursors.
whenever we want to update and delete table data after retrived

Is This Answer Correct ?    4 Yes 0 No

Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.........

Answer / kamlesh

Current of is used with cursors whenever v go for update in conjunction with for update of .
1.for update of in declare stmt
2.where current of in update query after fetching

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More DB2 Interview Questions

What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

0 Answers  


wht is d/f b/w inner join and outer join ? d/f group by and order by having by ?

2 Answers  


What is copy book?

1 Answers   Thomson Reuters,


What is db2 plan table?

0 Answers  


What is query_cache_limit?

0 Answers  






How do you filter out the rows retrieved from a Db2 table ?

1 Answers  


I have a table which has thousand of records i want to fetch only record num 100 to record num 200. Write a query that satisfies this criteria.(Cant use any keys) Anyone please reply ASAP!

17 Answers   KNIT, Tech Mahindra,


What is a cursor?

2 Answers  


pls explain the precompilation process of cobol-db2 pgm

3 Answers   HCL, IBM,


can we update the table by using cursors can anyone post the query?

5 Answers   DELL, HCL,


Highlight all the advantages that are attached to a package.

0 Answers  


What information can you find in SYSIBM.SYSLINKS table?

1 Answers   TCS,


Categories