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 > mysqldump turn off backquotes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-06-08, 10:15
lmei007 lmei007 is offline
Registered User
 
Join Date: Jun 2008
Posts: 20
mysqldump turn off backquotes

How to turn off the backquotes enclosed on table name and field name with mysqldump? Some modeler software do not like those backquotes. thanks,
Reply With Quote
  #2 (permalink)  
Old 06-06-08, 10:59
TonyF123 TonyF123 is offline
Registered User
 
Join Date: May 2008
Posts: 17
Quote:
Originally Posted by lmei007
How to turn off the backquotes enclosed on table name and field name with mysqldump? Some modeler software do not like those backquotes. thanks,
Uncheck the box under structure that says "Enclose table and field names with backquotes"
Reply With Quote
  #3 (permalink)  
Old 06-06-08, 11:06
TonyF123 TonyF123 is offline
Registered User
 
Join Date: May 2008
Posts: 17
Sorry, that was for phpmyadmin

in mysqldump you can try the

--skip-quote-names

option
Reply With Quote
  #4 (permalink)  
Old 06-06-08, 11:41
lmei007 lmei007 is offline
Registered User
 
Join Date: Jun 2008
Posts: 20
Quote:
Originally Posted by TonyF123
Sorry, that was for phpmyadmin

in mysqldump you can try the

--skip-quote-names

option
it works but not 100%.

those field names still have quotes on them:
1. type
2. status
3. value
4. name

are they the key words? I need to use a different word for them?

thanks
Reply With Quote
  #5 (permalink)  
Old 06-06-08, 12:10
TonyF123 TonyF123 is offline
Registered User
 
Join Date: May 2008
Posts: 17
Quote:
Originally Posted by lmei007
it works but not 100%.

those field names still have quotes on them:
1. type
2. status
3. value
4. name

are they the key words? I need to use a different word for them?

thanks
not reserverved as far as I know

It's all a bit strange. I tried it with a table called names that had a field called name in it. Those both had backticks, while none of the other fields did. This was only in the table create bit though. In the insert, neither had backticks. Maybe all you can do for now is get rid of them in a text editor, unless smeone else knows what is going on.
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