WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-06-2004, 08:18 AM
WebProWorld Member
 

Join Date: Jan 2004
Location: England
Posts: 52
mmltonge RepRank 0
Default Access > SQL issues

Hey, i recently transferred to a new host, on my old host i was using Microsoft Access with my .asp site. I found out once i paid for the new host that they dont support access and that i will need to convert to MySQL. Are there any full free programs to do this? (cant afford, wouldnt be cost effective to pay for one) and how much of my .asp code will need to be changed? will all the adding/edit/deleting commands still be the same in .asp or not?
Thanks
Mark
Reply With Quote
  #2 (permalink)  
Old 04-07-2004, 05:45 AM
sijpie's Avatar
WebProWorld Pro
 

Join Date: Sep 2003
Location: Scotland
Posts: 108
sijpie RepRank 0
Default

The changes aren't drastic. No MySql expert myself, though, there will be a number of changes. First the sql code is ever so slightly different, not for normal selects or inserts, but for inner and outer joins (called left and right joins in access), and also for setting up the tables and fields, etc.

The other difference is in getting connected to the database.

Best to go to the mysql website, and get onto a tutorial there to get yourself started.

Depending on how much sql code you have, it could amount to a fair bit of work. On the upside, if you have a large database and or complicated queries, you should notice a significant faster response from MySql.
__________________
Jaap

PalmVenue
Broekhuizen Paintings
MacSijp

You've done it all
You've broken every code (Steve Harley)
Reply With Quote
  #3 (permalink)  
Old 04-07-2004, 08:14 AM
WebProWorld Member
 

Join Date: Jan 2004
Location: England
Posts: 52
mmltonge RepRank 0
Default

i changed over successfully (after about 25 emails with the host setting up new DSN's for the converted databases) all that i needed to change was the connection line and the LIMIT line, in access it is SELECT TOP 3 * FROM where as in SQL it is SELECT * FROM TABLE LIMIT 5 etc. Went well, it is faster, much faster. Thanks for help
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Tags: , ,



Thread Tools
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

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


Search Engine Optimization by vBSEO 3.2.0