Update PostgreSQL from MS SQL trigger

Поиск
Список
Период
Сортировка
Искать

Update PostgreSQL from MS SQL trigger

От:
"Igor Kryltsov" <kryltsov@yahoo.com>
Дата:
Hi,

I have table 'test_m'(id integer) in MSSQL and I want to write
on_test_m_insert trigger in MS SQL which will insert value into PostgreSQL
table 'test_p' from database 'test_db' running on host '10.3.2.5'.

Can this be achieved with PostgreSQL ODBC driver? If yes, please post
template of such trigger.


Thank you,


Igor



Re: Update PostgreSQL from MS SQL trigger

От:
"Igor Kryltsov" <kryltsov@yahoo.com>
Дата:
I managed to link PostgreSQL to MSSQL as a linked server but:

select * from [TEST].[test].[public].[users] << wrote in message
news:d0jar6$14rh$1@news.hub.org...
> Hi,
>
> I have table 'test_m'(id integer) in MSSQL and I want to write
> on_test_m_insert trigger in MS SQL which will insert value into PostgreSQL
> table 'test_p' from database 'test_db' running on host '10.3.2.5'.
>
> Can this be achieved with PostgreSQL ODBC driver? If yes, please post
> template of such trigger.
>
>
> Thank you,
>
>
> Igor
>
>



FAQ