I am wondering if anyone here has ever had the instance of using 2 diffent DBIs, one connects to a Postgres table and one to a SQL 2000, but has written one sql statement.
I am interested in joining the 2 different tables in a sql statement. Now I can still manage to do what I want, but selecting from the first table (psql) and while looping throught the recordset selecting what I need from the second table (sql2000). But it would be neat if I could join the two as long as I stick to common sql commands that both platforms can use.
Sample:
SELECT PSQLT1.ITEM1, SQLT1.ITEM1
FROM PSQLT1 INNER JOIN SQLT1 ON PSQLT1.ID = SQLT1.ID
Anyone have any ideas or thoughts of this?
I am interested in joining the 2 different tables in a sql statement. Now I can still manage to do what I want, but selecting from the first table (psql) and while looping throught the recordset selecting what I need from the second table (sql2000). But it would be neat if I could join the two as long as I stick to common sql commands that both platforms can use.
Sample:
SELECT PSQLT1.ITEM1, SQLT1.ITEM1
FROM PSQLT1 INNER JOIN SQLT1 ON PSQLT1.ID = SQLT1.ID
Anyone have any ideas or thoughts of this?