Executing the query "EXECUTE master.dbo.xp_create_subdir N'C:\backups\D..." failed with the following error: "xp_create_subdir() returned error 5, 'Access is denied.'". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctl...
适用于: SQL Server Azure SQL 数据库 Azure SQL 托管实例 Azure Synapse Analytics 分析平台系统 (PDW) Microsoft Fabric 中的 SQL 分析端点 Microsoft Fabric 中的仓库 对于当前用户在当前数据库中可以访问的用户定义函数或存储过程的每个参数,相应地返回一行。 对于函数,该视图还会返回一行返回值信息。 若要...
When a stored procedure or function is executed, input parameters can either have their value set to a constant or use the value of a variable. Output parameters and return codes must return their values into a variable. Parameters and return codes can exchange data values with either Transact...
sp_executesql当对语句的参数值更改是唯一的变体时,可以使用存储过程而不是存储过程来执行 Transact-SQL 语句。 因为 Transact-SQL 语句本身保持不变,仅参数值发生变化,所以 SQL Server 查询优化器可能重复使用首次执行时所生成的执行计划。 在此方案中,性能相当于存储过程的性能。
SQL Server Azure SQL 数据库 Azure SQL 托管实例 Azure Synapse Analytics Analytics Platform System (PDW) Microsoft Fabric SQL 数据库 通过指定过程参数,调用程序可以将值传递给过程的主体。 在执行过程期间,这些值可以用于各种目的。 如果将参数标记为 OUTPUT 参数,则过程参数还可以将值返回给调用程序。
You can use SQL Server Configuration Manager to start, pause, resume, or stop the services, view service properties, or change service properties. Use SQL Server Configuration Manager to start the Database Engine using startup parameters. For more information, seeSQL Server Configuration Manager: ...
Receive the same number of parameters as specified in [ , ...n ]. Receive all the parameters by value, not by reference. Use parameter types that are compatible with types specified in the SQL Server function. If the return data type of the CLR function specifies a table type (RETURNS ...
创建链接服务器(SQL Server 数据库引擎) 本主题说明如何通过使用 SQL Server 或 SQL Server Management Studio 创建链接服务器和访问来自其他Transact-SQL的数据。 通过创建链接服务器,您可以使用来自多个数据源的数据。 该链接服务器不必是其他SQL Server实例,尽管这种情况很常见。
要获得 CHAR、VARCHAR 和 LONGVARCHAR JDBC 数据类型的最佳性能,应用程序应将 sendStringParametersAsUnicode 属性设置为“false”,并使用SQLServerPreparedStatement和SQLServerCallableStatement类的 setString、setCharacterStream 和 setClob 非区域字符方法 。 当应用程序将 sendStringParametersAsUnicode 属性设置为“false”,并...
ATOMIC WITH 适用于:SQL Server 2014 (12.x) 及更高版本和 Azure SQL 数据库。 指示执行原子存储过程。 更改提交或所有更改通过引发异常回滚。 ATOMIC WITH 块对于本机编译存储过程是必需的。 如果过程(通过 RETURN 语句显式或者通过完成执行隐式)返回,则提交过程所执行的工作。 如果过程引发,则过程所执行的工作...