Drop Table command giving error in SQL
When I am using DROPTABLE & TABLE_NAME command in SQL, its showing some error. What can be the problem
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pravin MoreRank #1,419 · 1.2K reputationPosted Nov 6, 2011, 6:50 PM EST
you have not posted exact error message or query......
please give somthing to resolve it.
but i hope your query will be......... drop table table_name
Prabhu RajaRank #861 · 2.6K reputationPosted Nov 7, 2011, 12:28 AM EST
Mention your Error Message and try this Article:
http://www.c-sharpcorner.com/UploadFile/mahesh/CreatingDBProgrammaticallyMCB11282005064852AM/CreatingDBProgrammaticallyMCB.aspx
Bhavik Solanki31 reputationPosted Nov 7, 2011, 3:51 AM EST
Here is query for drop table. Drop table [TableName1]
You can drop multiple tables using this Drop table [TableName1],[TableName2]
Regards,
Bhavik
Santosh KumarRank #2,303 · 613 reputationPosted Nov 7, 2011, 6:51 AM EST
AartiRank #2,383 · 594 reputationPosted Nov 15, 2011, 3:31 AM EST
your query for drop table here
DROPTABLE & TABLE_NAME
this should be like DROP TABLE TABLE_NAME there should be space b/w DROP AND TABLE keyword. as i see
plz post exact error message or query......
Thanks.