Jump to content

MySQL - Table names case problem


Recommended Posts

Hi.

 

I wrote some SQL statements, referencing table names in uppercase. When my java code tries to execute them, an error is send, telling that table name does not exist. I also saw that in phpMyAdmin table names are in lowercase.

 

Is there a way to reference them in uppercase (or in a not case sensible way)?

 

Thanks

Link to comment
Share on other sites

Mysql itself isn't case sensitive. Windows is not case sensitive so mysql on windows isn't case sensitive. Linux is case sensitive so mysql on linux is case sensitive. A table named TEST is different from test on linux. I just always do everything in lowercase to make it consistent. Mysql has a hard enough time without me yelling at it in all caps.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...