DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Updating using Join statement in Oracle

  1. #1
    Join Date
    Oct 2001
    Location
    Pennsylvania
    Posts
    2

    Exclamation

    Is there anyone who can help me convert this statement to Oracle Standards????

    Update ASEmployee
    SET ASEmployee.CALLEMPNO = Null,
    ASEmployee.TREEID =Null,
    ASEmployee.dOrder = Null,
    INDENT = NULL,
    ROWNO = NULL,
    VLINE = NULL,
    NTFYEMPNO = NULL,
    NTFYAREA = NULL
    FROM ASEmployee
    LEFT JOIN EMPLOYEE ON
    ASEmployee.CALLEMPNO = EMPLOYEE.EMPNO
    WHERE
    (ASEmployee.CALLEMPNO Is Not Null)
    AND
    (EMPLOYEE.EMPNO Is Null)
    UPDATE ASEmployee
    set NTFYEMPNO = NULL,
    NTFYAREA = NULL
    FROM ASEmployee
    LEFT JOIN EMPLOYEE ON
    ASEmployee.NTFYEMPNO = EMPLOYEE.EMPNO
    WHERE
    (ASEmployee.NTFYEMPNO Is Not Null) AND (EMPLOYEE.EMPNO Is Null)

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    this forum is for administriva. Please post your question in the "Database Administration" OR "Development" forum.
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width