Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1109273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:12:27+00:00 2026-05-17T02:12:27+00:00

i have tableA in sql database , and tableB in mysql database , How

  • 0

i have tableA in sql database ,

and tableB in mysql database ,

How to write the join and which function should i use for that(myssql_query or mssql_query )

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:12:28+00:00Added an answer on May 17, 2026 at 2:12 am

    So far as I know it is not possible with default PHP (mysql and mssql) functions, but I’m pretty sure that it is possible with ODBC on your machine.

    With ODBC you can make cross DB connections between MySQL and MSSQL. So I think you can create a query like this:

    SELECT 
        MYSQL.db.tbl_x.*
    LEFT JOIN 
        MSSQL.db.tbl_y 
    ON
        MYSQL.db.tbl_x.id=MSSQL.db.tbl_y=id
    

    If you only would like to copy some data, I recommend Navicat.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on PHP and database MySQL. I have two tables in SQL
Ok I have a table in my SQL Server database that stores comments. My
I have a junction table in my SQL Server 2005 database that consist of
I have a mysql 5 database table with a longtext field that permits html
I have two tables in my SQL database: mysql> select *from crop; +------+-----------+----------+ |
I have a java application that sends text to a sql database on a
(Note: This is for MySQL's SQL, not SQL Server.) I have a database column
I have a table that get its rows from a MYSQL database <table id=table1>
i have 3 Tables is my SQL Database: First Table: Room: ID <pk>, Roomname
In my SQL Server database schema I have a data table with a date

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.