sql - Joining two tables on different database servers -


i need join 2 tables companies , customers.

companies table in ms sqlserver , customer table in mysql server .

what best way achieve goal ?

if understand correctly, need join tables in sql server, not in code, because tag sql.

if have right, need administrative tasks, server linking.

here have explanation how link mysql server mssql server.

after link servers, syntax simple as:

select      [column_list] companies     join [server_name].[database_name].[schema_name].[table_name] ... 

keep in mind when accessing tables exist on linked server, must write four-part names.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -