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

plz tell me the new features of sqlserver2000,sqlserver2002,sqlserver2005

3 Answers  


Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?

0 Answers  


How to select top 5 coloumn from a table without using coloumn name

5 Answers  


What are magic tables in sql server?

0 Answers  


How to return the date part only from a sql server datetime datatype?

0 Answers  






Why do we use sql limitations? Which constraints can we use while making a database in sql?

0 Answers  


What are the type of joins? When do we use Outer and Self joins?

3 Answers  


What do you understand by replication in sql server? Mention the different types of replication in sql server.

0 Answers  


what is the system function to get current user's user id? : Sql server database administration

0 Answers  


How to see the event list of an existing trigger using sys.trigger_events?

0 Answers  


Can the “if update (colname)” statement be used in a delete trigger?

0 Answers  


What is a database in ms sql server?

0 Answers  


Categories