-1

I have two databases one in MySQL and the other in SQL Server. I have a request table in MySQL with fields as requestid and requestdatetime. And in SQL Server I have a table named request desc with columns as requestid and request_description.

These tables are updated at different times throughout the day. How can I connect these two and get the details as requestid, reqest_description and requestdatetime based in the requestid taken from MySQL database?

1
  • 1
    Long story short, you can't easily connect MySQL to MS SQL Server. The best you can do is use something like FreeTDS, but that won't work for all situations. You should describe in more detail how frequently these tables get updated, and how frequently you want to query them. Commented Oct 26, 2020 at 22:47

1 Answer 1

0

If you can perform a read query to the MySQL database request table from the SQL Server database then, set up an SQL Server job that syncs data between MySQL request table and another table with similar schema (lets call this duplicate table) in SQL Server. If that is possible then you can connect the duplicate table and the SQL Server request desc table. Make sure that the duplicate table and request table both contains similar data.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.