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 |
Difference between Function and Procedure-in general?
What does the update command do?
What program is used to store the data source file?
What do you understand by replication in sql server?
Do you know data definition language, data control language and data manipulation language?
What is extended stored procedures?
Explain Geography datatype in SQL Server
Difference between DELETE and TRUNCATE?
What are commit and rollback in sql?
What are the advantages of using sql server over ms access or why should one use sql instead of ms access
How would you choose between a clustered and a non-clustered index?
What is the difference between coalesce() & isnull()?