imleç (Transact-SQL)

Değişkenler veya imleç başvuru saklı yordam OUTPUT parametreler için bir veri türü.Any variables created with the cursordata type are nullable.

Değişkenleri ve parametreleri olan başvuru işlemleri birİmleç veri türü vardır:

  • DECLARE*@ local_variable* ve küme @ local_variable ifadeleri.

  • Aç ve DEALLOCATE getirme, yakın, imleç deyimleri.

  • Saklı yordam çıkış parametreleri.

  • CURSOR_STATUS işlev.

  • The sp_cursor_list, sp_describe_cursor, sp_describe_cursor_tables, and sp_describe_cursor_columns system stored procedures.

    Important noteImportant Note:

    The cursordata type cannot be used for a column in a CREATE TABLE statement.

    Not

    In this version of SQL Server, the cursor_name output column of sp_cursor_list and sp_describe_cursor returns the name of the cursor variable.Önceki sürümlerde, bu çıktı sütun, sistem tarafından oluşturulan bir ad verir.