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

Explain atomicity?

0 Answers  


what is the basic diffrence betn a col declared in char(1) and in varchar(1)

2 Answers  


Name three version of sql server 2000 and also their differences?

1 Answers  


MULTICAST DELEGATES IN C#.NET WITH REAL TIME EXAMPLE

2 Answers   IBM, TCS,


What are the parts of a function?

0 Answers  


Does table partitioning improve performance?

0 Answers  


How to truncate the log in sql server 2012? : sql server database administration

0 Answers  


select the 3rd maximum salary from sql server database if 4 (just an example In practically I may not know the exact situation) of the highest salaries are equal.

8 Answers   TCS,


How except clause is differs from not in clause?

0 Answers  


What is difference between stored procedure and user defined function?

0 Answers  


How to write character string constants or literals in ms sql server?

0 Answers  


Difference b/w Clustered & non-clustered index? Not the bookish definition, but how they internally works in SQL Server?

1 Answers   United Healthcare,


Categories