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

Thread: Creating Schema

  1. #1
    Join Date
    Mar 2001
    Posts
    6
    Hi,

    How can I create a schema in a database, Looking for a techincal answer

    Thanks


    Arshad

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828

    Talking

    hi

    The following statement creates a schema named BLAIR for the user BLAIR, creates the table SOX, creates the view RED_SOX, and grants SELECT privilege on the RED_SOX view to the user WAITES.

    CREATE SCHEMA AUTHORIZATION blair
    CREATE TABLE sox
    (color VARCHAR2(10) PRIMARY KEY, quantity NUMBER)
    CREATE VIEW red_sox
    AS SELECT color, quantity FROM sox WHERE color = 'RED'
    GRANT select ON red_sox TO waites;

    do tell me wheather thsi article is technical enough



  3. #3
    Join Date
    Mar 2001
    Posts
    6
    Thanks

    Hrishi

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