June 19, 2012 at 10:45 am
Hi,
Can any one give me syntax of Updating an oracle table using Openquery. I will be running this query from SQL Server Management studio.
Is this correct?....
UPDATE OPENQUERY (Ora_link,
'SELECT Flag from tableA where source=''X'' ')
SET flag = -1;
Thanks.
June 22, 2012 at 9:17 am
muthyala_51 (6/19/2012)
Can any one give me syntax of Updating an oracle table using Openquery. I will be running this query from SQL Server Management studio.Is this correct?....
UPDATE OPENQUERY (Ora_link,
'SELECT Flag from tableA where source=''X'' ')
SET flag = -1;
It looks correct to me.
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply