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

how can you check the level of fragmentation on a table? : Sql server administration

0 Answers  


Explain the use of keyword with encryption. Create a store procedure with encryption?

0 Answers  


can we call stored Procedure in Function in Sql Server 2000 and vice versa.

3 Answers   C3I, eSoft, iPRO Solutions, Wipro,


how to determine the service pack currently installed on sql server? : Sql server database administration

0 Answers  


What is the difference between system objects and user objects?

0 Answers   HCL,






Can you create UNIQUE and PRIMARY KEY constraints on computed columns in SQL Server 2000?

3 Answers   Infosys,


What are number line correlation administrators will use while working with a subquery?

0 Answers  


What are the advantages of using a stored procedure?

0 Answers  


What is auditing in sql server?

0 Answers  


What is temporal data type?

0 Answers  


How do I find the transaction log size in sql server?

0 Answers  


What is scd (slowly changing dimension)? : sql server analysis services, ssas

0 Answers  


Categories