Often times I need to SQL select rows from a table into a cursor. I want to make sure that the cursor name is always unique and that I can close it right after I get the data from the cursor. What sys() variable (or other) I can use in INTO CURSOR
? And, important, in such a way that I can know the cursor name, in order to get the values and to close it.
Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham