About 192,000 results
Open links in new tab
  1. EXECUTE (Transact-SQL) - SQL Server | Microsoft Learn

    Applies to: SQL Server 2019 (15.x) and later versions. The following example passes a command string to an external data source pointing to a SQL Server instance. EXECUTE ( 'SELECT …

  2. EXECUTE AS (Transact-SQL) - SQL Server | Microsoft Learn

    Dec 17, 2024 · Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics. Sets the execution context of a session. By default, a session starts when …

  3. Execute a Stored Procedure - SQL Server | Microsoft Learn

    May 15, 2025 · This article describes how to execute a stored procedure in SQL Server by using SQL Server Management Studio or Transact-SQL. There are different ways to execute a …

  4. EXECUTE AS Clause (Transact-SQL) - SQL Server | Microsoft Learn

    This section describes SQL Server syntax for EXECUTE AS. Functions (except inline table-valued functions), stored procedures, and DML triggers: { EXEC | EXECUTE } AS { CALLER | SELF | …

  5. EXECUTE (Transact-SQL) - SQL Server | Microsoft Learn

    Jan 2, 2025 · -- Execute a stored procedure [ { EXEC | EXECUTE } ] procedure_name [ { value | @variable [ OUT | OUTPUT ] } ] [ ,...n ] [ ; ] -- Execute a SQL string { EXEC | EXECUTE } ( { …

  6. EXECUTE (Transact-SQL) - SQL Server | Microsoft Learn

    Jan 2, 2025 · -- Execute a stored procedure [ { EXEC | EXECUTE } ] procedure_name [ { value | @variable [ OUT | OUTPUT ] } ] [ ,...n ] [ ; ] -- Execute a SQL string { EXEC | EXECUTE } ( { …

  7. Use sqlcmd - SQL Server | Microsoft Learn

    Nov 22, 2024 · Submit a sqlcmd job either by specifying a single T-SQL statement to execute, or by pointing the utility to a text file that contains T-SQL statements to execute. The output is …

  8. EXECUTE (Transact-SQL) - SQL Server | Microsoft Learn

    Jan 2, 2025 · -- Execute a stored procedure [ { EXEC | EXECUTE } ] procedure_name [ { value | @variable [ OUT | OUTPUT ] } ] [ ,...n ] [ ; ] -- Execute a SQL string { EXEC | EXECUTE } ( { …

  9. Execute SQL Task - SQL Server Integration Services (SSIS)

    Oct 17, 2024 · Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory. The Execute SQL task runs SQL statements or stored procedures from a package. The task can …

  10. Execute user-defined functions - SQL Server | Microsoft Learn

    Apr 26, 2024 · Execute a user defined function using Transact-SQL. Scalar functions must be invoked by using at least the two-part name of the function ( <schema>.<function> ). For more …

Refresh