Problem creating a table
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Problem creating a table

  1. #1
    Join Date
    Jun 2003
    Location
    australia
    Posts
    74

    Problem creating a table

    Hi all

    Can anyone tell me what could I possibly doing wrong with the following:

    When I create the table without specifying the Physical Attribute it works fine but when I do it along with physical attributes it gives me the following error :

    ERROR at line 3:
    ORA-00933: SQL command not properly ended

    CREATE TABLE temp
    as (select * from emp where deptno=99)
    TABLESPACE SIS_D1
    PCTUSED 40
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 120K
    NEXT 5M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    FREELISTS 1
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    )
    LOGGING
    NOCACHE
    NOPARALLEL
    /

    Thanks in advance

    RajTABLESPACE SIS_D1
    rajorcl

  2. #2
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Code:
    CREATE TABLE temp
    TABLESPACE SIS_D1
    PCTUSED 40
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 120K
    NEXT 5M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    FREELISTS 1
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    )
    LOGGING
    NOCACHE
    NOPARALLEL
    as (select * from emp where deptno=99)
    /
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  3. #3
    Join Date
    Jun 2003
    Location
    australia
    Posts
    74

    Thanks Heaps slim

    Thanks heaps slim

    You saved me again with such a quick response.

    Thanks again

    Raj
    rajorcl

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