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 |
Which one is faster delete/truncate? Why?
Indexes are updated automatically is the full-text index also updated automatically?
Explain what are the restrictions while creating batches in sql server?
How will oyu test the stored procedure taking two parameters namely first name and last name returning full name?
What do you do in data exploration
Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?
what is Buffer cash and Log Cache? Can you Explain it?
Difference between aggregate functions of sql?
How to use subqueries with the exists operators in ms sql server?
What are the pros and cons of putting a scalar function in a queries select list or in the where clause?
Do you know the isolation level that sql server support?
How to convert a table data in XML format in sql server?
Oracle (3259)
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)