What is difference between TRUNCATE and DELETE statement
Answer Posted / xyz
truncate basically clears the data from the rows of a
specified colomn.
e.g. truncate colomn_name from table_name
then this will only empty the colomn
delete is used to simpy delete anything from the table.
e.g. delete table_name
this will remove the whole table from the database.
| Is This Answer Correct ? | 9 Yes | 28 No |
Post New Answer View All Answers
what is a self join? Explain it with an example? : Sql server database administration
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
What is exporting and importing utility?
What are security principals used in sql server 2005?
What is it’s similarity with sql server?
How do I save a stored procedure in sql server?
What is the use of @@spid?
Write a sql query to get zero records from a table having n number of records?
how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }
What do you mean by recursive stored procedure?
Explain timestamp datatype?
What is tabulation?
What is Sqlpaging in SqlServer 2005 ?
Can sql server 2016 run on windows 7?
What are the rendering extensions of ssrs?