Answer Posted / umesh roy
Above code spelling are wrong on save Transaction
correct code are below which is executeable
begin transaction
save transaction t
delete from tablename where id=2
select * from tablename
------------------------------------------------------
the value id=2 will be deleted in the tablename
-------------------------------------------------------
rollback transaction t
select * from tablename
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Explain for xml explicit mode?
Can you explain what is indexed view? How to create it?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
What are the differences between DDL, DML and DCL in SQL?
Name some of the open source software that you can use in alternative to SSR?
What are the different types of indexes?
Can we add an identity column to decimal datatype?
How to connect php with different port numbers?
How sql server executes a statement with nested subqueries?
What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?
What is the difference between a stored procedure and a user defined function?
How do you know if sql server is running on your local system?
What command do we use to rename a db, a table and a column?
What is correlated subquery in sql server?