Advice please on the following.... I believe MySQL supports queries involving tables from more than one database, e.g.
select joe from db1.table1, db2.table3 where table1.fred = table3.bert
Is it possible to create recordsets from this type of query under ASP, please? ASP connection strings only permit one database to be specified, e.g.
con.Open "DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=DatabaseName;USER=MyName;PASSWORD=MyPwd;OPTION=3;"
A typical way to return a recordset under ASP might be
objRS.Open strSQL, con, 3,2,1
So each connection string structure defines just one database, and the recordset open syntax allows just one connection to be referenced.
Is there a way out of this, or are multi-database queries not possible under ASP?
Thanks - Mike -
select joe from db1.table1, db2.table3 where table1.fred = table3.bert
Is it possible to create recordsets from this type of query under ASP, please? ASP connection strings only permit one database to be specified, e.g.
con.Open "DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=DatabaseName;USER=MyName;PASSWORD=MyPwd;OPTION=3;"
A typical way to return a recordset under ASP might be
objRS.Open strSQL, con, 3,2,1
So each connection string structure defines just one database, and the recordset open syntax allows just one connection to be referenced.
Is there a way out of this, or are multi-database queries not possible under ASP?
Thanks - Mike -