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 |
What is the difference between a function and a trigger?
How to delete particular value in the column of a table.Is it possible or not?if possible give it as in query.
What do you mean by a Composite primary key?
What is the basic functions for master, msdb, tempdb databases?
Can we add a cpu to sql server?
What about UPDATESTATISTICS ?
Can someone suggest me the best institute to learn SQL Server... I want to gain in depth knowledge on SQL Server Development. I have been to naresh, peers, sql school,mind q systems... Any idea about best faculty....
What is the default port for SQL Server over a firewall?
What is purpose of normalization?
Delete duplicate records from the table?(Table must have unique id)
7 Answers TCS, Thomson Reuters,
Whether the updations made to the views reflect the original records in the table
What is store procedure? When do you use?
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)