I have a SQL Server 2005. I have created a linked server to PG SQL server.
It works great.
SELECT *
FROM OpenQuery(POSTGRESQL_SERV,
'SELECT comp_id,comp_name FROM company WHERE comp_type = 5')
I need to read all data from PG SQL and insert it into SQL Server.
How to create a while ? (also unique id`s)
Thx.