Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kshitizmittal's avatar

Multiple DB Ray query

select top 400 * from Com_Person_M where not exists (select * from old_db_migration_status where Com_Person_M.PersSequ = old_db_migration_status.old_record_id and type = 'com_person_m')

How to make raw query for the above Com_Person_M is sqlsrv connection & old_db_migration_status is mysql connection.

Please help

0 likes
1 reply
Sinnbeck's avatar

You cannot run a single query across different types of database types. They work completely different

Please or to participate in this conversation.