MySQL Forums
Forum List  »  InnoDB

Re: Creating Database Named 05-12345-1
Posted by: Arjen Lentz
Date: March 20, 2005 06:59PM

Rob T wrote:

> Does anyone know how to create a database with a dash (-) in the name?

Quote with `backticks`. However, it's not good practice, so I wouldn't recommend it if you can avoid it.
Generally, only use this kind of trick for dealing with existing (bad) situations, don't create new ones.

Regards, Arjen.
--
Arjen Lentz, Exec.Director @ Open Query (http://openquery.com)
Remote expertise & maintenance for MySQL/MariaDB server environments.

Follow us at http://openquery.com/blog/ & http://twitter.com/openquery

Options: ReplyQuote


Subject
Views
Written By
Posted
3247
March 18, 2005 04:36PM
Re: Creating Database Named 05-12345-1
2281
March 20, 2005 06:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.