Make SQL Cursor code more efficient

Printable View