wat new abt truncate in sql server
Answers were Sorted based on User's Feedback
Answer / praful chavan
While using TRUNCATE stmt, WHERE clause can not be used.
When we use TRUNCATE stmt, Trigger does not get fire. After
using TRUNCATE stmt, all the deleted rows are not entered in
the transaction log file(.ldf)
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / gk
Adding to the above answer truncate may or may not be
rolled back.
It can be rolled back if it is within a transaction.
Is This Answer Correct ? | 4 Yes | 0 No |
How many types of Joins in SQL Server 2005?
9 Answers CarrizalSoft Technologies, HCL,
What are the types of database schema? : sql server analysis services, ssas
How to use "begin ... End" statement structures in ms sql server?
What is the disadvantages of index?
What are partitioned views and distributed partitioned views?
How to make remote connection in database?
What is stored in the mssqlsystemresource database? : sql server database administration
What is molap and its advantage? : sql server analysis services, ssas
What are four major operators that can be used to combine conditions on a where clause?
how do u find least salary in a table
what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?
How to avoid cursors?
3 Answers CarrizalSoft Technologies, HP,