Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 45
  • Last Modified:

drop table sql script

I imported some data to my Mysql database and Mysql created new tables ( I forgot to give the table names )
Mysql automatically gave them name as TABLE 10 and TABLE 13,
I decided to delete the tables but I can not delete them because the sql script do not work since TABLE names sequential,
DROP TABLE TABLE 10,
how can I delete them?
0
Braveheartli
Asked:
Braveheartli
1 Solution
 
zephyr_hex (Megan)DeveloperCommented:
Put the names using reserved words in brackets, like so:

DROP TABLE [TABLE 10]

Open in new window

0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now