For example, mysql quote table name using
SELECT * FROM `table_name`;
notice the `
Does other database ever use different char to quote their table name
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This use of quotes is called delimited identifiers. It’s an important part of SQL because otherwise you can’t use identifiers (e.g. table names and column names) that:
The standard SQL language uses double-quotes for delimited identifiers:
MySQL uses back-quotes by default. MySQL can use standard double-quotes:
Microsoft SQL Server and Sybase uses brackets by default. They can both use standard double-quotes this way:
InterBase and Firebird need to set the SQL dialect to 3 to support delimited identifiers.
Most other brands of database use double-quotes correctly.