wat new abt truncate in sql server

Answers were Sorted based on User's Feedback



wat new abt truncate in sql server..

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

wat new abt truncate in sql server..

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

Post New Answer

More SQL Server Interview Questions

Why main is user defined function?

0 Answers  


difference between truncate, delete aur drop?

2 Answers  


What is cte (common table expression)?

0 Answers  


What is replication and database mirroring?

0 Answers  


Explain Different types of Projects?

1 Answers  






How do I run sql server 2014?

0 Answers  


Explain multiserver query

0 Answers  


Explain about temporary stored procedure?

0 Answers  


Tell me what is de-normalization and what are some of the examples of it?

0 Answers  


Explain error and transaction handling in sql server?

0 Answers  


What are various limitations of the views?

0 Answers  


What is key attribute?

0 Answers  


Categories