Can you roll back the ddl statement in a trigger?
Answer / Sunny Devkumar Singh
In SQL Server, you cannot directly roll back DDL statements within a trigger. However, you can work around this by using Transactions to enclose your DDL statements and T-SQL error handling (TRY-CATCH) blocks to handle errors and rollback the transaction when an error occurs.
| Is This Answer Correct ? | 0 Yes | 0 No |
Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?
Which language is supported by sql server?
List the different normalization forms?
What is difference between aggregate and analytic function?
How to concatenate two strings in SQL Server.
How to convert a numeric expression from one data type to another?
What is it unwise to create wide clustered index keys?
Can two tables share the same primary key?
What is shared lock?
I have a table EMP in which the values will be like this EmpId Ename Sal DeptId 11 Ram 10000 10 11 Ram 10000 10 22 Raj 20000 20 22 Raj 20000 20 33 Anil 15000 30 33 Anil 15000 30 I want to delete only duplicate Rows. After Delete I want the output like this EmpId Ename Sal DeptId 11 Ram 10000 10 22 Raj 20000 20 33 Anil 15000 30
syntax and example for bitmap index in sql???
What is the difference between clustered and a non-clustered index?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)