遇到错误:A cursor with thename ‘ ‘ already exists,想要看是什么代码导致的。找到下面几种方法. --测试声明Cursor并且打开 DECLARE vend_cursor CURSOR FOR SELECT * FROMPurchasing.Vendor OPEN vend_cursor FETCH NEXTFROMvend_cursor; --使用下面的三种方法都可以 SELECT ec.session_id,ec.name,ec.properties,ec.creation_time,ec.is_open,ec.writes,ec.reads,