Is it possible to link tables from other databases (MS SQL, Sybase, etc.) inside a MySQL database, on a Debian server?
I am thinking this could be possible using ODBC.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Out of the box, I don’t think so.
AFAIK, while its possible to implement your own functions in MySQL, these can only return single values – not tables of data.
It should be possible using a custom storage engine plugin. I believe there’s one written for DB2 but a quick google turned up nothing for ODBC. It’d be a useful thing to have – so you could write one.
The only caveat is that neither the local MySQL nor the remote ODBC connected database would be able to optimise queries spanning engines properly – so it might be more efficient to handle the two systems in a progrmanning language which supports both.