sp_cursoropen/sp_cursorprepare: The statement parameter can only be a batch or a stored procedure with a single select, without ...