Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 Sybase ASA 9 的存储过程中创建一个动态结果集。
假设我有一个查询:
'SELECT '+@Description+', '+@Id+' From '+@Table;
我需要创建一个游标来获取该查询的所有值。如何?
我找到了解决方案:
DECLARE @cursor CURSOR USING @cursorQuery; Open @cursor
等等。