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 > converting SQL code from MS Access to MySQL code

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-04, 16:31
lukman lukman is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
converting SQL code from MS Access to MySQL code

How do i convert SQL code from MS Access to MySQL code
Reply With Quote
  #2 (permalink)  
Old 01-27-04, 18:21
aus aus is offline
Registered User
 
Join Date: Oct 2003
Location: Denver, Colorado
Posts: 137
Re: converting SQL code from MS Access to MySQL code

I don't know of an automatic way of doing it. You will definitely have to change the table join syntax. i.e. None of this:
Code:
SELECT * FROM table1 INNER JOIN (table2 INNER JOIN table3 ON table2.id = table3.parentid) ON table1.id = table2.parentid;
This would be rewritten as:
Code:
SELECT * FROM table1
INNER JOIN table2 ON table1.id = table2.parentid
INNER JOIN table3 ON table2.id = table3.parentid;
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