llmclaughlin
Programmer
I'm having to insert data to a sql server from my stored procedures in my oracle database.
The sql tables I need to insert into all have auto increment columns as the PK. I can do the insert if I turn off the idenity on the column in sql server. In order to do this programatically I need to do the following statement:
SET IDENTITY_INSERT qpms_users@mysqlserverdsn ON;
The questions is, how can I phrase this in my stored procedure for it to work?
I already an ODBC and database link to the sql server.
Thanks
Louie
The sql tables I need to insert into all have auto increment columns as the PK. I can do the insert if I turn off the idenity on the column in sql server. In order to do this programatically I need to do the following statement:
SET IDENTITY_INSERT qpms_users@mysqlserverdsn ON;
The questions is, how can I phrase this in my stored procedure for it to work?
I already an ODBC and database link to the sql server.
Thanks
Louie