Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 oracle query

Author  Topic 

rajasekhar857
Constraint Violating Yak Guru

396 Posts

Posted - 2010-03-29 : 13:55:55
Hi,
Please help me ingiving sql server query into oracle.
query is like this,


UPDATE Transactions
SET ROLE_NAME=C.ROLE_NAME FROM Transactions ET,
(SELECT EMR_TRANSACTION_ID,EUR.ROLE_NAME,ET.USER_LOGIN,PAT IENT_ID,
TASK_ID,ID_VALUE,FLOW_DETAILS_ID,IS_EXPRESS FROM Transactions ET INNER JOIN UserRoleLocation EUR ON ET.USER_LOGIN=EUR.USER_LOGIN WHERE
TASK_ID=34 ) C
WHERE C.EMR_TRANSACTION_ID=ET.EMR_TRANSACTION_ID AND ET.TASK_ID=34

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-03-29 : 13:56:50
Wouldn't it make more sense to ask Oracle professionals for help in writing an Oracle query? You probably won't find Oracle help here since this is a Microsoft SQL Server site.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -