Transact-SQL 程序的指導方針: 所有Transact-SQL 資料類型都可以作為參數使用。 您可以使用使用者定義資料表類型建立資料表值參數。 資料表值參數只能是 INPUT 參數,而且必須與 READONLY 關鍵字一起使用。 如需詳細資訊,請參閱使用資料表值參數 (資料庫引擎) cursor 資料類型只能是 OUTPUT 參數,而且必須與 VARYING ...
The nonscalar types, cursor and table, can't be specified as a parameter data type in either Transact-SQL or CLR functions. If type_schema_name isn't specified, the Database Engine looks for the scalar_parameter_data_type in the following order: The schema that contains the names of SQL...
The nonscalar types, cursor and table, can't be specified as a parameter data type in either Transact-SQL or CLR functions. If type_schema_name isn't specified, the Database Engine looks for the scalar_parameter_data_type in the following order: The schema that contains the names of SQL...
Pour plus d'informations sur les types SQL Server de données système et leur syntaxe, consultez Types de données (Transact-SQL). Les types de données cursor ou table ne peuvent pas être utilisés comme paramètres. Si le type du paramètre correspond à un type CLR défini par l'...
Creates a function.If the parameters or return values of a function have precision, the precision is not checked.When creating a function, you are advised to explicitly s
Before a stored function can be created, the userSYSmust run a SQL script that is commonly calledDBMSSTDX.SQL. The exact name and location of this script depend on your operating system. To create a function in your own schema, you must have theCREATEPROCEDUREsystem privilege. To create a...
For more information about SQL Server system data types and their syntax, see Data Types (Transact-SQL). Table-valued or cursor data types can't be used as parameters. If the data type of the parameter is a CLR user-defined type, you must have EXECUTE permission on the type....
= 默认值 OUTPUT 表值参数类型 CURSOR VARYING 使用存储过程修改数据 UPDATE 错误处理 TRY...CATCH 对过程定义进行模糊处理 WITH ENCRYPTION 强制过程重新编译 WITH RECOMPILE 设置安全性上下文 EXECUTE AS基本语法此节中的示例说明了使用最低要求的语法的 CREATE PROCEDURE 语句的基本功能。A...
针对Transact-SQL 过程的数据类型准则: 所有Transact-SQL 数据类型都可以用作参数。 您可以使用用户定义的表类型创建表值参数。表值参数只能是 INPUT 参数,并且这些参数必须带有 READONLY 关键字。有关详细信息,请参阅表值参数(数据库引擎)。 cursor 数据类型只能是 OUTPUT 参数,并且必须带有 VARYING 关键字。
Weitere Informationen zu SQL Server-Systemdatentypen und ihrer Syntax finden Sie unter Datentypen (Transact-SQL). Tabellenwertdatentypen oder cursor-Datentypen können nicht als Parameter verwendet werden. Wenn es sich beim Datentyp des Parameters um einen CLR-benutzerdefinierten Typ handelt, ...