Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / anil

Delete Commands:

it is dml statement
you can specify delete command with critery (where
condition)

syntax: Delete * from tablename where condition

Truncate Command:

it is DDL statement
you can not specify critery with truncate table

syntax: truncate table tablename

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the distinction amongst delete and truncate?

1071


What stored procedure would you use to view lock information?

975


is it important for a database administrator to understand the operating system and file access? : Sql server administration

1029


How to list all schemas in a database?

1058


Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?

962


What is meant by datasource?

924


What is difference between createstatement and preparedstatement?

1090


What is the default schema of your login session in ms sql server?

1049


What is updatable resultset?

1007


difference between Clustered index and non clustered index ?

993


Can you get second highest salary from the table?

966


What are indexers?

1086


How to use column default values in insert statements in ms sql server?

1031


What is query parameter in ssrs?

160


mention different types of relationships in the dbms?

1020