• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to query from multiple databases at same time ?

#1
[eluser]Hallas[/eluser]
Hello !

I googled and didn't find any solution for querying multiple databases (mysql) at same time.
Only thing that I found is switching to certain DB at need.

I need something like this :

SELECT a.id
FROM database1.table1 a, database2.table2 b
WHERE a.id = b.user_id

Is there any solution in CI to solve this ?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.