what are batch in sql server?

Answer Posted / sirisha

Batch is nothing but a set of sql statments that are
executed at time (all the stmts will be exceuted or none(if
any error encountered))

eg:
use [database]
GO
select empname from employee
insert employee(empno,empname)
select empno =1
,empname ='A'
GO

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add a new dsn with the odbc driver for sql server?

549


Explain the use of containers in ssis and also their types?

526


How to list all objects in a given schema?

562


How to delete multiple rows with one delete statement in ms sql server?

516


What is the contrast amongst drop and truncate?

558






What is the difference between migration and upgradation in sql server?

602


Explain how you can deploy an SSRS report?

106


Define Joins?

612


What are the main differences between #temp tables and @table variables and which one is preferred?

551


What is a synonym for manipulation?

546


Explain about Joins?

607


How to filter records of table in SQL SERVER?

601


how many clustered indexes can be created on a table? : Sql server database administration

564


What is RMS migrations?

1701


How can you fetch alternate records from a table?

541