Function not supported for SQL pass-through cursors (Error 1504)

This command applies to view cursors only.