This is a discussion on Migrating a Access db within the MySQL forums, part of the Database Server Software category; --> I am migrating an Access db to MySql. I am have some SQL's that reference other SQL's within them. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am migrating an Access db to MySql. I am have some SQL's that reference other SQL's within them. Can this be done in scripts? Some of the SQL's are very large so keeping them seperate is a benefit. Also the initial sql is used in many other sql's. Also....believe it or not...by combining the sql's together, Access was slower returning the result. |
| ||||
| > I am migrating an Access db to MySql. I am have some SQL's that reference > other SQL's within them. Can this be done in scripts? Some of the SQL's > are very large so keeping them seperate is a benefit. Also the initial sql > is used in many other sql's. Also....believe it or not...by combining the > sql's together, Access was slower returning the result. I do believe that. Access stores its queries in a compiled form, so referencing them will speed things up. A stored query in Access is best compared to a "view" in MySQL. So if you want to port the queries first, before cleaning them up, you'd probably want to check out views. If things get too complicated for views, you can always try stored procedures if your MySQL version supports them. Best regards -- Willem Bogaerts Application smith Kratz B.V. http://www.kratz.nl/ |