If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > lower_case_table_names effect on VIEWS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-04-11, 06:20
bono56 bono56 is offline
Registered User
 
Join Date: May 2004
Posts: 133
lower_case_table_names effect on VIEWS

hi
i just set lower_case_table_names=2 in my.ini on widows os, now my table names are case-sensetive, but is it suppose to work on views name as well? because my views are still in lowercase i want them case-sensetive too.
is there any other option for views?
__________________
Lyrics Database: www.shermani.com
Reply With Quote
  #2 (permalink)  
Old 06-05-11, 12:51
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
This parameter is only applicable to tables and databases. To make a view cases sensitive create the view as follows:

CREATE VIEW `view_name` AS SELECT ...

Keeping the view name inside `` and in lower case may help you here?
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
  #3 (permalink)  
Old 06-26-11, 10:21
bono56 bono56 is offline
Registered User
 
Join Date: May 2004
Posts: 133
Quote:
Originally Posted by it-iss.com View Post
Keeping the view name inside `` and in lower case may help you here?
no, put view name inside `` didn't work out.
__________________
Lyrics Database: www.shermani.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On