write down the code for "how we delete a table without
using of Drop command " ?

Answers were Sorted based on User's Feedback



write down the code for "how we delete a table without using of Drop command " ?..

Answer / bhagwat sharma

table delete only by
drop table (tablename)

if you want do delete all data from table than you wil use
command

truncate table (tablename)

this command don't delete table delete only table data ok

Is This Answer Correct ?    16 Yes 1 No

write down the code for "how we delete a table without using of Drop command " ?..

Answer / shanmugam

truncate table tablename

Is This Answer Correct ?    7 Yes 3 No

write down the code for "how we delete a table without using of Drop command " ?..

Answer / sachin tendulkar

Can not be deleted without using DROP key word.

Is This Answer Correct ?    5 Yes 1 No

write down the code for "how we delete a table without using of Drop command " ?..

Answer / krishna

without using drop command u cant delete table .truncate is
only for delete the data parminently with out commit.where
as delete only for records deleting with commit
statement.once u commit for delete stmt it cant rollback.

Is This Answer Correct ?    4 Yes 1 No

write down the code for "how we delete a table without using of Drop command " ?..

Answer / venkat

sp_rename

Is This Answer Correct ?    3 Yes 2 No

write down the code for "how we delete a table without using of Drop command " ?..

Answer / jansi

delete from tablename

Is This Answer Correct ?    1 Yes 12 No

write down the code for "how we delete a table without using of Drop command " ?..

Answer / bru medishetty

DELETE FROM TABLENAME

Is This Answer Correct ?    7 Yes 20 No

Post New Answer

More SQL Server Interview Questions

Hi..here i would like to know the Backup and Restore models?

2 Answers   HCL,


Plz tell about backup&recovery?

3 Answers  


How to execute a stored procedure in ms sql server?

0 Answers  


What is history table in sql server?

0 Answers  


What are the benefits of filtered indexes?

0 Answers  






Explain cursor as data base object?

0 Answers  


Can a synonym name of a table be used instead of a table name in a select statement?

0 Answers  


What is a join in sql?

0 Answers  


What is Transparent Data Encryption?

0 Answers  


How to drop an existing user defined function in ms sql server?

0 Answers  


What are .mdf files?

0 Answers  


How can we rewrite sub-queries into simple select statements or with joins?

0 Answers  


Categories