SQLGetStmtAttr 函数 SQLGetStmtOption 函数 SQLGetTypeInfo 函数 SQLMoreResults 函数 SQLNativeSql 函数 SQLNumParams 函数 SQLNumResultCols 函数 SQLParamData 函数 SQLParamOptions 函数 SQLPrepare 函数 SQLPrimaryKeys 函数 SQLProcedureColumns 函数 SQLProcedures 函数 SQLPutData 函数 SQLRowCount 函数 SQLSetConnectAttr...
如需 SQL Server 版本支援的功能清單,請參閱 SQL Server 2022 的版本和支援功能。 Transact-SQL 語法慣例 語法 syntaxsql 複製 sys.sp_cdc_get_ddl_history [ @capture_instance = ] 'capture_instance' [ ; ] 引數 [ @capture_instance = ] 'capture_instance' 與源數據表相關聯...
If you still receive theerror message,verify that you do not have an instance of Microsoft SQL Server Express installed. If there is an instance of Microsoft SQL Server Express, update the permissions described in thefirst section. Get the lis...
The following values of the InfoType argument return a list of the SQL data types to which the data source can convert the specified SQL data type with the CONVERT scalar function: SQL_CONVERT_BIGINT SQL_CONVERT_BINARY SQL_CONVERT_BIT SQL_CONVERT_CHAR SQL_CONVERT_DATE SQL_CONVERT_DECIMAL SQL...
Results are returned in XML as well. If all of the tests in a particular batch evaluate to TRUE (if they turn out as the Test node suggests), an empty <Results/> tag is returned. If, however, any of the tests fail, a list of errors is returned: ...
SQL_BRC_PROCEDURES SQL_BRC_EXPLICIT SQL_BATCH_SUPPORT (32 位掩码) 指示支持的批处理级别: SQL_BS_SELECT_EXPLICIT: 支持可具有生成结果集的语句的显式批处理。 SQL_BS_ROW_COUNT_EXPLICIT: 支持可具有生成行计数的语句的显式批处理。 SQL_BS_SELECT_PROC: 支持可具有生成结果集的语句的显式过程。 SQL_BS...
SQL_ACCESSIBLE_PROCEDURES (string) 字串"Y" 指出您可以執行函數 SQLProcedures()所傳回的所有程序。 "N" 表示可能傳回您無法執行的程序。 SQL_ACCESSIBLE_TABLES (string) 字串"Y" 表示您已獲授與函數 SQLTables()所傳回之所有表格的 SELECT 專用權。 "N" 表示可能傳回您無法存取的表格。 SQL_AGGREGATE_FUN...
Transact-SQL 構文表記規則 構文 コピー sp_msx_get_account リターン コードの値 0 (成功) または 1 (失敗) 結果セット 次の結果セットを返します。 列名種類説明 msx_connectionintマスター サーバーの接続番号。 msx_credential_idintこのマスター サーバー接続に使用される資格...
Given a configuration option name, returns the option value from the sys_config table, or the provided default value (which may be NULL) if the option does not exist in the table. If sys_get_config() returns the default value and that value is NULL, it is expected that the caller is...
Sp_stored_proceduresreturnsalistofstoredproceduresfor thecurrentdatabase,includingthesystemstoredprocedure. Sp_tablesreturnsalltablesandviewsofthecurrentdatabase, includingthesystemtables. Thecommonlyusedsystemfunctionsassociatedwithmetadataare thefollowing: ...