facebook

[Closed] DB Table Create Statement Error

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #273683 Reply

    Phil Gibbs
    Member

    Trying to create a table for Oracle 10 I get an error in the generated DDL. The Oracle error is ORA-00907 which says that a right-paren is missing. Unfortunately, a right-paren is not missing.
    Here’s the generated DDL:
    create table WINRLS.CUST_PRICE_ADJ(AP_NUM VARCHAR2(16) NOT NULL UNIQUE, ADJ_NUM VARCHAR2(16) NOT NULL UNIQUE, ADJ_NAME VARCHAR2(32) NOT NULL, ADJ_TYPE VARCHAR2(6) NOT NULL, ADJ_VALUE FLOAT(9,4) NOT NULL,
    constraint AP_NUM PRIMARY KEY(AP_NUM,ADJ_NUM))

    This is Oracle version 10, MyEclipse 5.5.1 and Eclipse 3.2.

    #273963 Reply

    Loyal Water
    Member

    Everything looks fine to me. Are you able to run this query outside MyEclipse ?

    #274080 Reply

    Phil Gibbs
    Member

    thx for your reply. Yes it was ok and now works fine.

    #274110 Reply

    Loyal Water
    Member

    Glad its working now. Thanks for letting me know.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] DB Table Create Statement Error

You must be logged in to post in the forum log in