Collections:
Statement Batch in SQL Server Transact-SQL
What is statement batch in SQL Server Transact-SQL?
✍: FYIcenter.com
A statement batch is a group of one or more Transact-SQL statements sent at the same time
from an application to SQL Server for execution.
SQL Server compiles the statements of a batch into a single executable unit,
called an execution plan. The statements in the execution plan are then executed one at a time.
How to define and send a statement batch to SQL Server is depending on the client application you are using. For example:
Remember that "GO" is not a Transact-SQL statement. "GO" is a command of the client tool.
⇒ Compilation Error in a Statement Batch in SQL Server
⇐ Comments in SQL Server Transact-SQL Statements
2017-05-29, 3885🔥, 0💬
Popular Posts:
How To Convert Numeric Expression Data Types using the CAST() Function in SQL Server Transact-SQL? I...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...
How To Look at the Current SQL*Plus System Settings in Oracle? If you want to see the current values...
What Is Transport Network Substrate (TNS) in Oracle? TNS, Transport Network Substrate, is a foundati...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...