Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003
    Location
    Washington DC area
    Posts
    1,770

    Unanswered: ORA-00922: missing or invalid option

    CREATE TABLE cas_data.HZ_CUST_ACCOUNTS --updated AS

    SELECT DISTINCT a.*

    FROM ar.HZ_CUST_ACCOUNTS@cas_asis a, AR_PAYMENT_SCHEDULES_ALL b

    WHERE b.org_id = 4659 AND a.CUST_ACCOUNT_ID = b.customer_id

    What's missing?

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    http://www.dbforums.com/showthread.php?1705093-DB-Links

    Problem Exists Between Keyboard And Chair

    You're On Your Own (YOYO)!
    Last edited by anacedent; 02-19-15 at 16:59.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    At the first sight, this
    Code:
    CREATE TABLE cas_data.HZ_CUST_ACCOUNTS --updated AS
                                           ^         ^
                                           |         |
                                        "AS" is commented as well                                       
    SELECT DISTINCT a.*
    ...
    might be a problem. "AS" is commented.

Posting Permissions

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