<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: A question about create table in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975677#M783571</link>
    <description>No I didn't&lt;BR /&gt;I used the default tablespace&lt;BR /&gt;Can I change it?</description>
    <pubDate>Wed, 26 Apr 2006 08:56:00 GMT</pubDate>
    <dc:creator>Wang,MinJie</dc:creator>
    <dc:date>2006-04-26T08:56:00Z</dc:date>
    <item>
      <title>A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975675#M783569</link>
      <description>Hey every one&lt;BR /&gt;When I "sqlplus /nolog" and "conn jay/jay;" and "create table test(name varchar(20))",it said "no privilege of the tablespace".&lt;BR /&gt;Why? What can I do.&lt;BR /&gt;Thank you in advanced</description>
      <pubDate>Wed, 26 Apr 2006 08:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975675#M783569</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2006-04-26T08:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975676#M783570</link>
      <description>Hi,&lt;BR /&gt;as tablespace owner:&lt;BR /&gt;grant create table to jay;&lt;BR /&gt;&lt;BR /&gt;Also please check the default tablespace for your user:&lt;BR /&gt;select default_tablespace from dba_users where username = 'JAY';&lt;BR /&gt;&lt;BR /&gt;When you created the user, did you specify the tablespace?&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Apr 2006 08:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975676#M783570</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-26T08:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975677#M783571</link>
      <description>No I didn't&lt;BR /&gt;I used the default tablespace&lt;BR /&gt;Can I change it?</description>
      <pubDate>Wed, 26 Apr 2006 08:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975677#M783571</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2006-04-26T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975678#M783572</link>
      <description>alter user jay default tablespace temp;</description>
      <pubDate>Wed, 26 Apr 2006 09:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975678#M783572</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-26T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975679#M783573</link>
      <description>"temp"?&lt;BR /&gt;Should I create this tablespace,use another name and configure it?</description>
      <pubDate>Wed, 26 Apr 2006 09:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975679#M783573</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2006-04-26T09:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975680#M783574</link>
      <description>Hi,&lt;BR /&gt;no need to create sepearet tablespace, it should already exist:&lt;BR /&gt;select TABLESPACE_NAME from dba_tablespaces;&lt;BR /&gt;&lt;BR /&gt;Setting the default was only an example, you can not set the default to temp!&lt;BR /&gt;&lt;BR /&gt;Try the grant command first.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Apr 2006 09:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975680#M783574</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-26T09:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975681#M783575</link>
      <description>You need the privilege CREATE TABLE&lt;BR /&gt;You need a default tablespace on which you have privileges.&lt;BR /&gt;&lt;BR /&gt;Try the following queries&lt;BR /&gt;&lt;BR /&gt;select * from role_sys_privs&lt;BR /&gt;/&lt;BR /&gt;select * from user_sys_privs&lt;BR /&gt;/&lt;BR /&gt;select * from user_users&lt;BR /&gt;/&lt;BR /&gt;select * from user_tablespaces&lt;BR /&gt;/&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Apr 2006 09:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975681#M783575</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-04-26T09:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975682#M783576</link>
      <description>Hi Wang,&lt;BR /&gt;&lt;BR /&gt;For a user to be able to create objects (tables, indexes,.......etc) in a tablespace the user needs to have the quota of bytes or unlimited on that tablespace.  And the user should also have the privilege to create the object (eg:- create table privilege). &lt;BR /&gt;&lt;BR /&gt;When a user is created, a default tablespace and a temporary tablespace are specified in the creation statement (it could be the USERS tablespace and TEMP tablespace or some other tablespace) assigned to the user. If the user was created without specifying the default and the temporary tablespace then the user will have the SYSTEM tablespace as the default and temporary tablespace.&lt;BR /&gt;&lt;BR /&gt;After the user has been created, the user is granted roles / privileges. If the user is granted the RESOURCE role then the user gets unlimited quota on the default tablespace, if this role is not given then the user needs some quota of bytes on the tablespace to create tables in it.  &lt;BR /&gt;&lt;BR /&gt;So in your case it is either you do not have quota on the tablespace or you have the SYSTEM tablespace as your default. You need not create any of these tablespaces, as they already exists (SYSTEM, USERS, TEMP, UNDO/RBS and other tablespaces). Now as the previous posts mentions query the views user_users and user_sys_privs to find out the default tablespace of the user and the privileges of the user and once they are in place then you should be able to create the table in that tablespace. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Indira A&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Apr 2006 19:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975682#M783576</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2006-04-26T19:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: A question about create table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975683#M783577</link>
      <description>Thankyou!&lt;BR /&gt;Now I make it clear that I can create table whatever I want!</description>
      <pubDate>Wed, 26 Apr 2006 22:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question-about-create-table/m-p/4975683#M783577</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2006-04-26T22:05:36Z</dc:date>
    </item>
  </channel>
</rss>

