2
select 
    eue.PERSONID,
    eue.EID,
    eue.NAME_COMPLETE,  eue.
    eue.EMAIL_ADDRESS_OFFICE as EMAIL 
from  
    HAIL_ESS_USERS_EXTENDED_V eue
where 
    eue.PERSONID = p_person_id) eue
join 
   (select *
    from HAIL_ESS_ROLE_MAP
    where ROLE_ID in (select ID
                      from HAIL_ESS_ROLES
                      where upper(ROLE_NAME) like upper('Rewards and Recognition%'))) b on   eue.PERSONID = b.PERSON_ID(+); 

Can anybody tell me the meaning of (+)? I have to migrate this query from Oracle to SQL Server 2008

1
  • 3
    LEFT OUTER JOIN it is in SQL Server Commented Nov 13, 2014 at 9:56

2 Answers 2

1

SQL Server Equivalent is LEFT OUTER JOIN:

select eue.PERSONID,
           eue.EID,
           eue.NAME_COMPLETE,  eue.
           eue.EMAIL_ADDRESS_OFFICE as EMAIL 
    from  HAIL_ESS_USERS_EXTENDED_V eue
                 where eue.PERSONID = p_person_id) eue
         left outer join (select *
                from    HAIL_ESS_ROLE_MAP
                where   ROLE_ID in (select  ID
                                    from    HAIL_ESS_ROLES
                                    where   upper(ROLE_NAME) like upper('Rewards and Recognition%')))b
          on   eue.PERSONID=b.PERSON_ID; 
Sign up to request clarification or add additional context in comments.

Comments

0

It's a notation for LEFT OUTER JOIN

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.