Welcome Guest, Not a member yet? Register   Sign In
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 ?




Theme © iAndrew 2016 - Forum software by © MyBB