close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Lock up: File Activity in Dreamweaver CS5

Thread began 9/25/2010 6:14 am by Mikel Jones | Last modified 9/28/2010 1:46 pm by Mikel Jones | 6254 views | 9 replies

Mikel Jones

Originally Said By: Jason Byrnes
  SQL is not a case sensitive language.

whether your table is named "mYtable" or "MyTable" the query:
SELECT * FROM mytable

will still return results.

it is best practice in MySQL however to use all lowercase for table and database names, column names can be mixed case.  




OK, ill change all my table names to lower case so as to follow best practices.

But, there is a problem with the WebAssist tools when it comes to case.

I used DataAssist to update a record and I get a mysql error when the following line...

$WA_table = "survey";

in the update block has the lower case 's' in 'survey' and the table name is upper case 'S' for the table named 'Survey' in the database.

If I change the case of the lower case 'survey' to upper case 'Survey' the query works for the table named 'Survey'.

So SOMETHING is checking the case of the $WA_table value.

Also, a second problem comes up when I import and export the tables. If I export lower case table names then import them into the database with upper case names I get duplicate tables.

So... SOMETHING in the MySQL database IS checking case and importing the tables as duplicates if the case does not match.

This leeds me to believe that you could be wrong when you say that MySQL does not care about table name case.


---

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...