ORA-14452 attempts to create, alter or drop an index on a table temporary alr

I'm trying to edit a column in my global temporary table.
When I try to run the query, I get this error...
ORA-14452: try to create, alter or drop an index on a temporary table already in use

It is the solution that I found in google.
Action: All sessions using the session-specific temporary table must truncate table and all transactions using the specific temporary table have to end their operations in transaction.

How can I make sure that the transaction is complete
or what is the best way to solve this problem?

Thank you

Tell everyone to disconnect from the database. If they won't come out and it is a change of mission critical and killing their session will have undesirable consequences for the data, and then kill their sessions. Hell you could bounce back just the database, that everyone will come out and then don't open it back to connections non s/n until your done with your DOF on the TWG. Of course, you probably want to do during a scheduled maintenance window if it is a production environment because it tends to make people grumpy when you surreptitiously gives them the boot.

Depends on the importance, it's to make the change, on the other hand, the importance is keeping your DB online and/or your connected users.

Tags: Database

Similar Questions

  • dynamic SQL to drop the indexes on the table

    Hello world

    Please tell me how to remove the indexes on a table by using a dynamic sql code

    for example, I have a dummy table with two index idx1, idx2

    I need a procedure or a function where I will be passing in the name of the table, the function/procedure should remove the indexes on the table

    Thank you

    Not tested:

    create or replace
    procedure drop_indexes_of_table(p_table_owner varchar2,
                                    p_table_name varchar2)
    as                              
    
    cursor c_drop_statements is
    select 'drop index '||owner||'.'||index_name stmt
    from all_indexes
    where table_owner=p_table_owner
    and table_name=p_table_name;
    
    begin
      for r in c_drop_statements loop
        execute immediate r.stmt;
      end loop;
    end;
    
  • Change a temporary table: ORA-14452

    Hello

    I'm sitting in front of my APEX 4.0.1 and I have a temporary table that I would like to change.

    Current situation: 'MY_COLUMN' VARCHAR2 (30)
    I need: 'MY_COLUMN' VARCHAR2 (4000)

    I found a few threads about this problem, but they support only on the meaning of do it automatically in the code.
    So far, I promise: I want to only do once in manual mode! ;)

    Can someone give me a clue how change/remove a temporary table that is already in use?


    Code and error:
    alter table "MY_TABLE" modify ("MY_COLUMN" VARCHAR2(4000) NOT NULL) 
    / 
    
    ORA-14452: attempt to create, alter or drop an index on temporary table already in use

    Hello

    The only suggestion I've seen is to truncate the table first:

    TRUNCATE TABLE "MY_TABLE".

    I use no temporary tables, so can't say for sure if this will do the trick

    Andy

  • CREATE/ALTER/DROP instructions and alerts log

    In the Oracle (12 c) Administrator's Guide under "monitoring errors with Trace files and alert newspaper ' is the following:

    Alerts log is a chronological record of the messages and errors, and includes the following items:

    -Any internal (ORA-00600), errors (ORA-01578) block and corruption blocking errors (ORA-00060) that occur

    - Administrative, operations such as CREATE, ALTER, and DROP statements and instructions STARTUP, SHUTDOWN and ARCHIVELOG

    -Messages and shared server process and dispatcher functions errors

    -The errors that occur when automatic refreshing a materialized view

    -The values of all initialization parameters that have default values at the time where the departure of the database and instance

    My question is about the second point (in bold).  I might be accused of not followed my journal to alert as closely as I should, but I have not noticed the CREATE/ALTER/DROP instructions in there.  I went to one of my test cases and created a table. No message was written for the journal of alerts.  I did a logfile switch just to make sure I was looking at the right file.  Yep - the switch is in the newspaper.  I dropped my test table - once again, no alert log entry was created.

    So my question is if the above is a documentation error or am miss me a piece of the puzzle?

    Hello

    It would really help if you posted a link to the document you are referencing, such as

    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/monitoring001.htm#ADMIN11242

    The ball before the one you pointed out said «All the internal errors...» »

    The ball that you pointed out does not say "All", so I interpret that as meaning only some of the most remarkable commands CREATE, ALTER, and DROP are recorded, for example CREATE TABLESPACE or ALTER SYSTEM.

    Like you, I think that literature should be clearer on this point.

    Below is the article you cited, there is a link:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/diag001.htm#CHDHEGBH

    which goes into a little more detail on this stuff is saved.  They are mostly all systemically important things, not things like creating a package, or editing a table individual users.  When the part you highlighted speaks of 'administrative operations, such as CREATE, ALTER, and DROP statements ', I think they're trying to distinguish certain types of CREATE, ALTER, and DROP statements, for example, things that only highly privileged users such as SYS or SYSTEM can do other, more frequent, CREATE, ALTER, and DROP statements.  Again, this is largely what I read in the literature, based on my experience.  Would be nice if the documentation is more explicit on this subject.

  • the triggers that are running when create, Alter, Drop of orders

    Hello
    I use oracle 10g. I want to create triggers that are running when create, Alter, Drop executed orders .How can I do this...

    Offcourse.

    Let's look at this code

    create to replace trigger prevent_drop
    before the fall on Practice.schema
    Start
    If ora_dict_obj_owner = "PRACTICE".
    and ora_dict_obj_name like '% BOO '.
    and ora_dict_obj_type = 'TABLE '.
    then
    RAISE_APPLICATION_ERROR)
    -20002, 'operation not allowed.');
    end if;
    end;

    better compliance
    skyniazi

  • How to call user B to drop/create an indexes on a table owned by the user has?

    Hello!
    We have the following situation:
    = > user B has a table that has an index
    = > user connects to the database and must have sufficient privileges or the ability to drop/create an index for a table owned by the user B.
    Since there are several different schemas in the database, it is not possible to grant the privilege "to create any index' or 'delete any index '.
    for the user.
    = > to do even more complicated: the necessary procedure must not belong to user B

    I tried to solve this problem with a stored procedure (which belongs to user C). Why do we use user C? C the user has several packages,
    procedures and functions that get used by other users (for example for purposes of logging, refresh materialized views,...)

    So the logic is:
    = > user A calls user procedure C. In this procedure the call "run immediately" ALTER SESSION SET CURRENT_SCHEMA = B' "»
    is executed successfully. The next step, the < drop index B.i1 > statement would get executed. But this statement fails with the
    exception ' ORA-01031: insufficient privileges ".

    If this procedure is created in the schema of the user B then everything works fine - but because of our current design of the database, this procedure
    must belong to the user C.

    Does anyone know a solution to this problem?

    Any help will be appreciated

    Rgds
    JH

    I think you need the privilege DROP_ANY_INDEX directly to user C.

  • ORA-19506: failed to create the file for sequential access

    Hello, log backup archive My RMAN is a failure... Here is the info from the full log file. Can someone please shed some light on this...


    Recovery Manager: release 10.2.0.3.0 - Production on the game 17 Dec 09:00:02 2009

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    RMAN >
    connected to target database: INVENT (DBID = 12345667)

    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 > 11 > 12 >
    using the control file of the target instead of recovery catalog database
    allocated channel: t1
    channel t1: sid = 959 devtype = SBT_TAPE
    channel t1: VERITAS NetBackup for Oracle - version 6.0 (2007070504)

    allocated channel: t2
    channel t2: sid = 962 devtype = SBT_TAPE
    channel t2: VERITAS NetBackup for Oracle - version 6.0 (2007070504)

    executing command: SET ORDER ID

    SQL statement: alter system archive log current

    From backup 17 December 09
    Current archived log
    channel t1: from archive newspaper backupset
    channel t1: specification of archive log backup set
    archive log entry thread = 1 = recid 61859 46634 = 705760770 stamp = sequence
    archive log entry thread = 1 sequence = recid 61860 = 46635 = 705762477 stamp
    archive log entry thread = 1 = recid 61861 46636 = 705765886 stamp = sequence
    archive log entry thread = 1 = recid 61862 46637 = 705767598 stamp = sequence
    archive log entry thread = 1 sequence = 61863 recid = stamp 46638 = 705769235
    archive log entry thread = 1 sequence = 61864 recid = 46639 stamp = 705769236
    archive log entry thread = 1 = recid 61865 46640 = 705773535 stamp = sequence
    channel t1: starting piece 1 to 17 December 09
    channel t2: from archive newspaper backupset
    channel t2: specification of archive log backup set
    archive log entry thread = 1 sequence 61866 recid = 46641 = 705774395 stamp =
    archive log entry thread = 1 = recid 61867 46642 = 705775744 stamp = sequence
    archive log entry thread = 1 = recid 61868 46643 = 705776075 stamp = sequence
    archive log entry thread = 1 = recid 61869 46644 = 705783627 stamp = sequence
    archive log entry thread = 1 = recid 61870 46645 = 705783628 stamp = sequence
    archive log entry thread = 1 = recid 61871 46646 = 705787215 stamp = sequence
    archive log entry thread = 1 sequence = recid 61872 stamp 46647-= 705787215 =
    archive log entry thread = 1 = recid 61873 46648 = 705804999 stamp = sequence
    archive log entry thread = 1 sequence = 61874 recid = stamp 46649 = 705834020
    channel t2: from room 1 to 17 December 09
    RMAN-03009: failure of the backup command on channel t2 at 2009-12-17 09:01:38
    «"ORA-19506: failed to create the batch file, name ="7bl14b16_1_1", parms ="»
    ORA-27028: skgfqcre: sbtbackup returned the error
    ORA-19511: error received from layer media manager, error text:
    VxBSACreateObject: Failed with the error:
    Server status: could not allocate new media for backup, storage unit has no available
    T2 channel disabled, job failed on it will run on another channel
    output channel: t1
    output channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on channel t1 at 2009-12-17 09:02:43
    «"ORA-19506: failed to create the batch file, name ="7al14b16_1_1", parms ="»
    ORA-27028: skgfqcre: sbtbackup returned the error
    ORA-19511: error received from layer media manager, error text:
    VxBSACreateObject: Failed with the error:
    Server status: could not allocate new media for backup, storage unit has no available

    RMAN >

    Complete recovery manager.

    It's all about media layer. You may need to ask Veritas netbackup admin to fix the problem and resubmit the backup after that.

  • Any attempt to create results by "Access denied" error zip file

    Windows 7 Professional 64 bit.  I am logged in as administrator.  UAC is not active on this machine.

    Any attempt to create a zip file results in a dialog box stating "unable to complete the operation.  Access is denied. "
    If I select a file or group of files/folders, do a right click and say 'Send to Zip', I get this error.  Interestingly, while the error dialog box is still open, the zip file will be displayed in the current folder.  Clicking OK in the box dialog error cancels the dialog box and deletes the zip file.
    This seems to be some sort of permissions thing.  Can I create a zipfile by clicking right in the Explorer window by clicking on "new", then "compressed (zipped) folder", and it will create the file very well.  I can even give it a name.  Any attempt to copy anything in this new zip file generates an error "file not found or no read permission.  Try to delete the zip file says 'you need permission from administrators to make changes to this file.
    So now, I open the properties for the zip file and go to the Security tab.  It was there that I discovered that this file has no owner are entrusted to him.  I can then change owners, add my name as the owner of the file, assign full control to myself, apply the changes, and now the zip file can be read/written/removed normally.
    So whenever I need to create a zip file, I have to go through the steps of creating-> change the properties of the-> Assign owner-> Apply-> add files to the Zip file.  It's a royal pain in the keester.
    My question is: what changes to do to confide as the owner by default when a zip file is created?  This seems to happen with only zip files, any other type of file gives me this problem.  What happened since I got this computer brand new with Windows 7 64 - bit on it.  I can't say that it is a "Virgin" installation, he was photographed by a group of COMPUTER companies (I work for a fairly large company).  This group is a clue what happens and apparently others in our society do not report this problem.

    Solved! The problem is with the permissions on the 'TEMP' directory which is used during the process of zip. See this announcement and scroll down to "more useful answer.

  • During ANY installation of a program (e.g. Skype), I get the "year error occurred while attempting to create the directory C:\Program\Microsoft\Windows\Start Menu.

    original title: facilities program

    During ANY installation of a program (e.g. Skype), I get the "year error occurred while attempting to create the directory C:\Program\Microsoft\Windows\Start Menu. What happened with cd installs, but also downloads on the internet.  I already "took possession" of the computer, which is still delayed freaking, but am still unable to fight through all the questions of security, I guess that.  Any help would be greatly appreciated as I'm about to DOWNGRADE to something more user-friendly.  Thank you

    BTW, this is WINDOWS 7 Home Premium

    I had this problem for a long time on Windows 7. Finally, by pure chance I came across this solution that solved the problem. -Take the shortcut of the property

    http://www.SevenForums.com/tutorials/1911-take-ownership-shortcut.html

    You will need to run the "fusion" in the context menu of a reg file, published as part of the solution to change some registry settings. On any folder, you'll get a context menu 'Take Ownership' which restores the property correctly. This solves a lot of problems installing.

    Many people have trouble with this and therefore decided to post here.

    Gem of a solution. Thanks to GRIM and Brink on Windows 7 Forum!

    -Jayawanth

  • Error ORA-20001 when you create a new application

    Hello
    I am creating a new application of an existing table in the database and I get the following error. The application is created using the Wizard (type of database application, from scratch, report and our page)

    ORA-20001: unable to create modules. ORA-20001: create error pages. ORA-20001: unable to create form page. ORA-20001: Error Page = 2 item = 'P2_NON_ORACLE_EMPLOYEE_SPEAKER' id = '1975288532127294112' ORA-20001: error page 2 item = = "P2_NON_ORACLE_EMPLOYEE_SPEAKER" id = "1975288532127294112" a same name something like existing at the level of applications. ORA-0000: normal end successfully

    The table I created the app on is defined as follows:
    CREATE TABLE  "TABLE_1" 
       (    "ID" NUMBER, 
            "SESSION_EXTERNAL_PAPER" VARCHAR2(30), 
            "OWNER_CFP_SUBMITTER1_FULL_NA" VARCHAR2(255), 
            "OWNER_CFP_SUBMITTER1_COMPANY" VARCHAR2(255), 
            "STATUS" VARCHAR2(30), 
            "SESSION_ID" NUMBER, 
            "TITLE" VARCHAR2(255), 
            "ABSTRACT" VARCHAR2(4000), 
            "SESSION_TYPE" VARCHAR2(30), 
            "SESSION_CATEGORY" VARCHAR2(30), 
            "STREAM" VARCHAR2(30), 
            "PRIMARY_TRACK" VARCHAR2(255), 
            "OPTIONAL_TRACK" VARCHAR2(255), 
            "CROSS_STREAM_TRACK" VARCHAR2(30), 
            "SUPPORTING_VIDEO" VARCHAR2(4000), 
            "ATTENDEE_ROLE" VARCHAR2(255), 
            "TO_RATING" VARCHAR2(30), 
            "TO_COMMENTS" VARCHAR2(4000), 
            "COMMENTS" VARCHAR2(4000), 
            "ORACLE_PARTNERNETWORK" VARCHAR2(30), 
            "IS_YOUR_OPN_MEMBERSHIP_UNDER_A" VARCHAR2(255), 
            "ORACLE_PARTNER_TYPE" VARCHAR2(255), 
            "OPN_MEMBERSHIP_LEVEL" VARCHAR2(30), 
            "ORACLE_REGION_BASED" VARCHAR2(30), 
            "ORACLE_VALIDATED_INTEGRATION" VARCHAR2(30), 
            "HAS_YOUR_COMPANY_ACHIEVED_SPEC" VARCHAR2(4000), 
            "PLEASE_DESCRIBE_THE_VALUE_OF_O" VARCHAR2(4000), 
            "INCLUDE_CASE_STUDY" VARCHAR2(30), 
            "PROVIDE_NAME_OF_THE_CUSTOMER_F" VARCHAR2(255), 
            "PLEASE_PROVIDE_A_BRIEF_DESCRIP" VARCHAR2(4000), 
            "NON_ORACLE_EMPLOYEE_SPEAKER1_F" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER1_C" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER1_FULL" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER1_COMPA" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER2_F" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER2_C" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER2_FULL" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER2_COMPA" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER3_F" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER3_C" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER3_FULL" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER3_COMPA" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER4_F" VARCHAR2(255), 
            "NON_ORACLE_EMPLOYEE_SPEAKER4_C" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER4_FULL" VARCHAR2(255), 
            "ORACLE_EMPLOYEE_SPEAKER4_COMPA" VARCHAR2(255), 
            "CREATED" DATE, 
            "CREATED_BY" VARCHAR2(50), 
            "LAST_UPDATE" DATE, 
            "LAST_UPDATED_BY" VARCHAR2(50), 
             CONSTRAINT "OOW_PAPER_PK" PRIMARY KEY ("ID") ENABLE
       ) ;
    I use APEX version 4.0.2.00.07

    Any idea what could be wrong and what can be done to solve the problem?

    See you soon,.
    Andy

    If you add a synonym for display to the database, the generator must see and allow you to use...

    Thank you

    Tony Miller
    Webster, TX

    Never argue with a fool. They do you drag down to their level, then beat you with experience.

    If you answer this question, please mark the thread as closed and give points where won...

  • ORA-02248: invalid option for ALTER SESSION during the connection of the customer

    Hello
    I'm a junior dba and I was hoping if someone could help me with a problem I have. I recently installed on the oracle 10g client on my windows machine. I am trying to remote connect to my database on a unix machine, but I get error trying to connect from the client below.

    ERROR:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-02248: invalid option for ALTER SESSION

    I did some searching on that and I think it might be something to do with the NLS_LANG setting maybe. I do not know if and to be honest, I'm a little lost on this.

    Any help would be greatly appreciated. See you soon.

    RGS,
    Rob

    Hello

    what the SQL you gave?

    Check the run-> regedit NLS_LANG parameter and change it according to env

  • import problem ORA-01658: unable to create the STARTING point for the segment in your

    I created the above tablespace

    create tablespace SAMPLEDATA
    DataFile ' / u01/app/oracle/oradata/sample/sampledata01.dbf' size 50 M autoextend on next 10 M maxsize unlimited
    logging
    Local extended management
    segment space management auto
    Flashback on;

    create SAMPLE user identified by usrmringnew
    SAMPLEDATA default tablespace
    tablespace temporary temp;


    Import from 9 to 10r2

    IMP fromuser = touser = sample indexfile=/home/oracle/import/production/export/import_productionddl_20081007.log file=/home/oracle/import/production/export/production_export_20081007.dmp log=/home/oracle/import/production/export/production_import_20081007.log production system

    Unfortunately, it gives the error

    ORA-01658: unable to create the measure INITIAL segment in tablespace

    could someone kindly help me on this?

    Thank you very much!

    Hello

    As you can see, your data file specifications need to increase of 10 M, but your file system has only 3.7 M of available, that is why the server is unable to increase the size and you get this error message.

    Solution - you can use one of following:

    1. move the data file to a point of editing with sufficient space.
    2 - Add a new data file for the tablespace and host this data on a new mount point file with sufficient space.

    Published by: sanjayIndia on October 8, 2008 09:02

  • Reg: drop unique indexes.

    Hi friends,
    How do I remove the Unique index of the table.when I fire below set out its me gives error...

    ALTER Table employees
    Drop the IX_employeename_01 constraints

    ORA-02443: cannot delete constraint - constraint does not exist

    Please suggest.

    Regards,
    Aude
    drop index IX_employeename_01
    

    The integrity of the data is maintained by a unique index not by constraint.

    Ravi Kumar

  • ORA-22907: invalid CAST to a type that is not a nested table or VARRAY. Typed collection function

    Hello

    I tried to create a function that might return the type that is created on the outside.

    So I wrote script below. until the function created it compiled successfully, but after that, when the data querying, we encountered error,

    "ORA-22907: invalid CAST to a type that is not a nested table or VARRAY.

    SQL> create table emp
      2  (
      3    ename        varchar2(200 byte),
      4    mgr          number,
      5    employee_id  number
      6  );
    
    
    Table created.
    
    
    SQL> insert into emp (ename, mgr, employee_id)
      2       values ('king', 12, 1);
    
    
    1 row created.
    
    
    SQL> insert into emp (ename, mgr, employee_id)
      2       values ('clark', 12, 2);
    
    
    1 row created.
    
    
    SQL> commit;
    
    
    Commit complete.
    
    
    SQL> create or replace type t_emp as object (ename varchar2 (200), mgr number, employee_id number);
      2  /
    
    
    Type created.
    
    
    SQL> create or replace function f_emp return  t_emp
      2   is
      3  type rc_emp is ref cursor;
      4  r_emp rc_emp;
      5  v_emp t_emp;
      6  begin
      7   open r_emp for select * from emp where rownum=1;
      8   fetch r_emp into v_emp;
      9  close r_emp;
     10  return v_emp;
     11  exception
     12      when others then
     13      dbms_output.put_line(dbms_utility.format_error_stack);
     14      dbms_output.put_line(dbms_utility.format_call_stack);
     15      dbms_output.put_line(dbms_utility.format_error_backtrace);
     16      raise_application_error(-20001,sqlerrm);
     17  end;
     18  /
    
    
    Function created.
    
    
    SQL> show errors;
    No errors.
    SQL> select * from f_emp;
    select * from f_emp
                  *
    ERROR at line 1:
    ORA-04044: procedure, function, package, or type is not allowed here
    
    
    
    
    SQL> select * from table(cast (f_emp as t_emp));
    select * from table(cast (f_emp as t_emp))
                              *
    ERROR at line 1:
    ORA-22907: invalid CAST to a type that is not a nested table or VARRAY
    
    
    
    
    SQL>
    

    Like this:

    ...

    CREATE or REPLACE TYPE t_emp_array IS TABLE OF THE t_emp;

    /

    FUNCTION to CREATE or REPLACE f_emp RETURN t_emp_array

    is

    type rc_emp is ref cursor;

    r_emp rc_emp;

    v_emp_array t_emp_array: = t_emp_array();

    BEGIN

    R_emp OPEN for SELECT t_emp(ename,mgr,employee_id) FROM emp WHERE ROWNUM = 1;

    collect the fetch r_emp in bulk in v_emp_array;

    CLOSE R_emp;

    Return v_emp_array;

    exception

    while others then

    dbms_output.put_line (dbms_utility.format_error_stack);

    dbms_output.put_line (dbms_utility.format_call_stack);

    dbms_output.put_line (dbms_utility.format_error_backtrace);

    raise_application_error (-20001, SQLERRM);

    end;

    /

    SELECT *.

    table (f_emp ());

    a table function works with a table (nested table or varray)

    HTH

  • Why I can't create indexes on the table of RDF data

    When I tried to create indexes on the table of RDF data, it always say the table or view does not exist. I created the RDF model using java codes:

    Oracle Oracle = new Oracle ("jdbc:oracle:thin:@localhost:1521:orcl", "system", "123");

    Chart GraphOracleSem = new GraphOracleSem (oracle, "test2");


    And used the following commands in sqlplus to create indexes:

    SQL >

    SELECT THE SEPARATE OWNER, OBJECT_NAME

    FROM DBA_OBJECTS

    WHERE TYPE_OBJET = 'TABLE '.

    4. AND OBJECT_NAME like ' % TEST2;

    OWNER

    --------------------------------------------------------------------------------

    OBJECT_NAME

    --------------------------------------------------------------------------------

    SYSTEM

    TEST2_NS

    SYSTEM

    RDFB_TEST2

    SYSTEM

    TEST2_TPL

    OWNER

    --------------------------------------------------------------------------------

    OBJECT_NAME

    --------------------------------------------------------------------------------

    SYSTEM

    RDFC_TEST2


    SQL > connect as sysdba

    Enter the password:

    Connected.

    SQL >

    SQL >

    SQL > select * from TEST2_TPL;

    Select * from TEST2_TPL

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    SQL > CREATE INDEX test2_sub_idx ON TEST2_TPL (triple. GET_SUBJECT());

    CREATE INDEX test2_sub_idx ON TEST2_TPL (triple. GET_SUBJECT())

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    Hi Shifu,

    It is not recommended to use the SYS or SYSTEM to store/manage schema graph RDF data.

    Can you please try the following in a SQL * more terminal?

    SQL > conn system/eu1

    Connected.

    SQL >

    SQL >

    SQL > create user graphuser identified by graphuser;

    Created by the user.

    SQL > grant connect, resources, unlimited tablespace to graphuser;

    Grant succeeded.

    SQL > conn graphuser/graphuser

    Connected.

    SQL > create table graph_tpl (triple sdo_rdf_triple_s) compress;

    Table created.

    SQL > sem_apis.create_sem_model exec ('graphic', 'graph_tpl', 'three');

    PL/SQL procedure successfully completed.

    SQL > insert into graph_tpl values (sdo_rdf_triple_s ('graph', '', '', ''));

    1 line of creation.

    SQL > select count (1) in the mdsys.rdfm_graph;

    1

    You see the same result?

    Thank you

    Zhe Wu

Maybe you are looking for

  • Pre-installed activated windows 7 says not installed

    It says this when I try to activate the key for office 2010 (family and student edition) when I check back it says active.I gave microsoft - you don't have to meet. Already returned card not activated, but it is now.Pls help.

  • Laptop HP 2000: reset my administrator password

    I forgot my administrator password and received a code to disable 92612526

  • Where to find the id of the computer in windows 7

    original title; ID of the computer in windows 7 Hello I need to find my computer id or a device on my desktop which has windows 7 ultimate 64-bit. Device ID is necessary to create a key to activate software expsense of mobihand. Thank you.

  • BlackBerry Z3 temporary server error response.

    I just got a BlackBerry z3 and av could not associate my id blackberry bbm on it.I get the answer "temporary server error" whenever I try to open my bbm.I used a BlackBerry Curve, den had to and android fone and was able to use my blackberry on the a

  • Last vs OS SDK is not the most recent

    Hello world! I am a complete newbie here, I'm new to this forum. Worse yet, I'm not a developer of BlackBerry, I'm just starting. I did some research, but I'm still not sure of what follows. If I use the latest BlackBerry Java SDK, will I still be ab