Compare and contrast TRUNCATE and DELETE for a table.

Answer Posted / monal

IN MSSQLSERVER TRUNCATE RESETS IDENTITY VALUE OF COLUMN
WHILE DELETE DOESN'T RESETS IDENTITY VALUE OF COLUMN

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you best determine why your MVIEW couldn't FAST REFRESH?

1822


What would you do with an "in-doubt" distributed transaction?

1411


How would you extract DDL of a table without using a GUI tool?

2044


what is logical system in sap basis

1124


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2383






Can you redefine a table online?

662


how can you implement fine-grained auditing?

596


What are the different sql server versions you have worked on? : sql server DBA

537


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

1958


how can you generate profile of pl/sql applications to identify performance bottlenecks?

589


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1547


what is the use of ocr?

588


what is the role of dip user in our database?

2041


i have 10gp file.now i need store in database..but database have only 7gb memory only..how do u store the file ?

1631


how can you get actual data change values from previous transactions in oracle?

607