I have two separate databases from two different sources but with the same data ttypes and rows, can I return both of it’s data’s to an array to work with both of them as a one source?
Share
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.
If the 2 databases are located on the same server, and the structure of both tables is the same, you may use UNION:
Replace database1, database2, table1, table2, condition1 and condition2 with your real values.