I have some vbscripts that query ODBC, but I want to
have it query some MySQL databases I have, instead.
Currently I have:
...
Set numConnection = Server.CreateObject("ADODB.Connection"
numConnection.Open "dbname"
NumQuery = "SELECT * from dbname WHERE field = " & Field1
Set rsNumList = numConnection.Execute(NumQuery)
...
How would these statements change with a MySQL database?
Overall, I wanted to find someone to host my web pages, but
find that ODBC is rarer and pricier and more places will
host MySQL, instead. So I wanted to migrate my pages from
ODBC to MySQL.
Thanks!
have it query some MySQL databases I have, instead.
Currently I have:
...
Set numConnection = Server.CreateObject("ADODB.Connection"
numConnection.Open "dbname"
NumQuery = "SELECT * from dbname WHERE field = " & Field1
Set rsNumList = numConnection.Execute(NumQuery)
...
How would these statements change with a MySQL database?
Overall, I wanted to find someone to host my web pages, but
find that ODBC is rarer and pricier and more places will
host MySQL, instead. So I wanted to migrate my pages from
ODBC to MySQL.
Thanks!