| Next Tip?
Home » DB2

What is the syntax required for the creation of a cursor?

9 August 2009 288 views No Comment
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

EXEC SQL
DECLARE cur_name CURSOR for
SELECT col1,col2
FROM table1
WHERE col1 = search_condition
END-EXEC.

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.