rrichardet
MIS
Is it possible to run an Update query using the OPENRECORDSET function?
Here is my SQL:
SELECT c.maxofpims_bacrr
FROM t_highrisk_summary_complete AS c INNER JOIN
OPENROWSET('MSDAORA','Edwina';'rrichardet';'rrichardet',
'update t_pimsdata
set riskrtg = c.maxofpims_bacrr
where gcinum = 510108137')
AS o
ON c.credit_taker_gci = o.gcinum
EDWINA is an ORACLE linked server. I need the query to update the ORACLE table based on a join to the SQLSERVER table. Thanks in advance for your help.
Here is my SQL:
SELECT c.maxofpims_bacrr
FROM t_highrisk_summary_complete AS c INNER JOIN
OPENROWSET('MSDAORA','Edwina';'rrichardet';'rrichardet',
'update t_pimsdata
set riskrtg = c.maxofpims_bacrr
where gcinum = 510108137')
AS o
ON c.credit_taker_gci = o.gcinum
EDWINA is an ORACLE linked server. I need the query to update the ORACLE table based on a join to the SQLSERVER table. Thanks in advance for your help.