資料指標函數 (Transact-SQL)Cursor Functions (Transact-SQL)

適用於: 是SQL Server 是Azure SQL Database 否Azure SQL 資料倉儲 否平行處理資料倉儲 APPLIES TO: yesSQL Server yesAzure SQL Database noAzure SQL Data Warehouse noParallel Data Warehouse

這些純量函式會傳回資料指標的相關資訊:These scalar functions return information about cursors:

@@CURSOR_ROWS@@CURSOR_ROWS CURSOR_STATUSCURSOR_STATUS
@@FETCH_STATUS@@FETCH_STATUS

所有資料指標函數都不具決定性。All cursor functions are nondeterministic. 換言之,這些函式並非每次執行時,都會傳回相同的結果,即便使用同一組輸入值也是如此。In other words, these functions do not always return the same results each time they execute, even with the same set of input values. 如需函式確定性的詳細資訊,請參閱決定性和非決定性函式See Deterministic and Nondeterministic Functions for more information about function determinism.

另請參閱See also

內建函數 (Transact-SQL)Built-in Functions (Transact-SQL)