I always think replacing all the cursors defined in all my procedures.
I was able to do it for those that have column (primary key or unique key) to identify each row uniquely with the while loop
but I can't do it for those who don't have a uniue key.
how can I replace those cursors defined on these kind of queries
take for example on this record set
oty_id stu_id ppt_id RDate R2Date
326 71 28557 NULL NULL
326 71 28558 NULL NULL
326 71 28559 NULL NULL
326 71 28560 NULL NULL
326 194 409 NULL NULL
326 194 410 NULL NULL
326 194 411 NULL NULL
326 207 1133 NULL NULL
326 207 1134 NULL NULL
326 207 1135 NULL NULL
how can I loop through this recordset with out defining any cursor
Thanks,
I was able to do it for those that have column (primary key or unique key) to identify each row uniquely with the while loop
but I can't do it for those who don't have a uniue key.
how can I replace those cursors defined on these kind of queries
take for example on this record set
oty_id stu_id ppt_id RDate R2Date
326 71 28557 NULL NULL
326 71 28558 NULL NULL
326 71 28559 NULL NULL
326 71 28560 NULL NULL
326 194 409 NULL NULL
326 194 410 NULL NULL
326 194 411 NULL NULL
326 207 1133 NULL NULL
326 207 1134 NULL NULL
326 207 1135 NULL NULL
how can I loop through this recordset with out defining any cursor
Thanks,