Click here to Skip to main content
15,911,306 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi iam fresher.. I want to delete the selected database using stored procedure when i pressed the delete button.. Please help me
Posted
Comments
syed shanu 13-Mar-14 3:40am    
Do you realy want to delete Data base or Table from your SP

1 solution

SQL
Dude Deleting a database is not a good idea but if you wish to do then
drop database db_name -- deleting a database
drop table tbl_name -- deleting a table
So simple.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900