The ID of the table error duplicate

Hello

When I try to add an Array Manager, I get an error of "Table duplicate ID 'xxxxxx'" and I can not add the Bay Manager. I uninstalled and reinstalled SRM and still get the same error. Someone at - he seen this before?

Thank you

Hello

Found the answer to this. There was a problem with the table IDs to the Compellent Enterprise Manager.

Thank you.

Tags: VMware

Similar Questions

  • Why a whole page of rows in the table is duplicate in FrameMaker 10?

    I have a long table in one of my chapters in FrameMaker 10. The table is seven pages long, but a whole page of dollars of rows in the table is duplicated, if the table really should only be six pages long. The first four pages look like this:

    Page 1: Lines 1-7

    Page 2: Lines 8-16

    Page 3: Lines 8-16

    Page 4: Lines 17-28

    Headers and footers are completely unaffected. All the markers from index in the rows of the table are also doubled, so all of the Page 3 index markers are also appearing in the IX file. I've combed through the file on unresolved references, but I can't find. Also, if I insert a blank line in Page 2, all lines is duplicated is no longer. If I insist on the entire table, Page 2 does not seem to be highlighted. I can't select or change anything on the Page 2.

    I'm absolutely baffled why this is happening. A glimpse of what is causing this rowset ghosts to appear?

    Some ideas to play with:

    • Did you wash MIF file to clean small codes that may have been imported?
    • Have you checked the duplicate lines to check that they are defined in the body and not header?
  • the database error duplicate from one server to another server

    Hello

    I'm practicing duplicate database to a single database server to another server. Path material and pilot on 2 machines is the same. Here are my steps:
    -Clone site:
    1 change the listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME = orcl)
    )
    )
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE
    2. stop and start receiving once again, show message as:
    Service "orcl" has 1 instance (s).
    Instance "orcl", status UNKNOWN, has 1 operation for this service...

    The command completed successfully
    3. create pfile from spfile file.
    4. stop and startup nomount with pfile is new pfile create in step 3.
    --------------------------------------- Source site
    1 edit tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    )
    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )
    2 run the command of rman like these:
    RMAN > Connect target sys@vvcoredb
    RMAN > target password database:
    RMAN > Connect auxiliary sys@orcl
    RMAN > database auxiliary password:
    RMAN > DUPLICATE TARGET DATABASE for database orcl active spfile nofilenamecheck.

    Then the result show below:
    From Db double to 24-SEP-12
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 63 type device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora';
    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora";
    }
    execution of Script memory

    Backup to starting 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 74 type device = DISK
    Backup finished 24-SEP-12

    SQL statement: alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora"

    content of Script memory:
    {
    clone of SQL 'alter system set = db_name
    "ORCL" comment =
    "reproduce" scope = spfile;
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory

    SQL statement: alter system db_name set = comment "ORCL" = "duplicate" scope = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 24/09/2012 17:44:12
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-04014: failed to start: ORA-01261: parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a destination of the file directory
    Linux-x86_64 error: 2: no such file or directory

    I don't know what wrong with my pfile file? I said to correct my pfile site clone like this:
    ORCL.__db_cache_size = 1476395008
    ORCL.__java_pool_size = 16777216
    ORCL.__large_pool_size = 16777216
    ORCL.__oracle_base='/U01/app/oracle'#ORACLE_BASE the value of the environment
    ORCL.__pga_aggregate_target = 1342177280
    ORCL.__sga_target = 1979711488
    ORCL.__shared_io_pool_size = 0
    ORCL.__shared_pool_size = 436207616
    ORCL.__streams_pool_size = 0
    *.audit_file_dest='/U01/app/Oracle/admin/ORCL/adump '
    * .audit_trail = "db".
    * full = '11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    * .db_block_size = 8192
    * .db_domain = "
    * .db_name = "orcl".
    *.db_recovery_file_dest='/U01/app/Oracle/flash_recovery_area/vvcoredb '
    * .db_recovery_file_dest_size = 4070572032
    *.diagnostic_dest='/U01/app/Oracle '
    *. Dispatchers ='(Protocol=TCP) (SERVICE = orclXDB)"
    * .memory_target = 3313500160
    * .open_cursors = 300
    * runoff = 150
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .undo_tablespace = "UNDOTBS1.

    Please suggest me I miss some steps when trying to duplicate database?

    Any suggestions are welcome.

    Thanks in advance!

    P/s: sorry for my bad English.

    This error is because the location of the controlfile specified in your spfile is not present on your server to clone. Change the location of the parameter cntrolfile in spfil or create the same location on the server.

    Published by: Slim on 24 Sep 2012 17:47

  • Insert values into a table from another table without duplicates

    Hello

    I have a table with a field called ID; This field has duplicate values of ID.

    Then I have an empty table B (with the same fields of the table A) and I want to insert the values of the ID (on the table) without duplicates.

    Can you help me?


    Thank you much in advance.

    Hello

    If your table has duplicate values, then you cannot add a UNIQUE constraint. In this case, you will need to use a roundabout way or remove duplicates before imposing the constraint. Hope it answers your question.

    see you soon

    VT

  • Error in the target database duplicate for standby

    Hi all
    I had a problem trying to rebuild the database pending. This is my environment: Oracle 10g RAC with 2 node on window 2003 Server R2, 32-bit. Main database and backup are 2 RAC node that is located on a different server with the location of this material/ASM configuration and directory structures.
    Here is my scenario:
    After custody of data works, I deleted the eve of database, say sbdb, using dbca. so I recreated the Oracle service using oradim on standby node, Setup the correct file pfile and spfile from the primaries. Create the primary db backup using the following command on primary and copy the files to the backup servers:
    DEVICE TYPE DISK FORMAT 'E:\DATA_GUARD\DB_%U' DATABASE MORE ARCHIVELOG;
    BACKUP DEVICE TYPE DISK FORMAT 'E:\DATA_GUARD\CTL_%U' CURRENT CONTROLFILE TO SLEEP;

    After that I ran the command DUPLICATE TARGET DATABASE in standby mode STANDBY, he gave me the following errors:
    From duplicate Db 2 October 08
    using the ORA_AUX_DISK_1 channel

    content of Script memory:
    {
    Restore controlfile Eve clone;
    SQL clone 'alter database sleep mounting database';
    }
    execution of Script memory

    From restoration to 2 October 08

    channel ORA_AUX_DISK_1: from datafile backupset restoration
    channel ORA_AUX_DISK_1: restore the control file
    channel ORA_AUX_DISK_1: reading from the backup E:\DATA_GUARD\CTL_10JS4L22_1_1 piece
    channel ORA_AUX_DISK_1: restored the backup part 1
    piece handle = V:\BACKUP\DATA_GUARD\CTL_10JS4L22_1_1 tag = TAG20081002T104938
    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:09
    output filename=+DATA/sbdb/controlfile/current.269.667045957
    output filename=+RECOVERY/sbdb/controlfile/current.403.667045957
    Finished restore to 2 October 08

    SQL statement: alter database mount rescue
    output channel: ORA_AUX_DISK_1
    WARNING: DB_FILE_NAME_CONVERT gave rise to incorrect ASM names; names have been changed to diskgroup only.

    content of Script memory:
    {
    the value of newname for tempfile 1 to
    '+ data ';
    clone tempfile switch all;
    the value of newname for datafile 1 to
    '+ data ';
    the value of newname for datafile 2 to
    '+ data ';
    the value of newname for datafile 3 to
    '+ data ';
    the value of newname for datafile 4 to
    '+ data ';
    the value of newname for datafile 5 to
    '+ data ';
    restoration
    see readonly
    clone database
    ;
    }
    execution of Script memory

    executing command: SET NEWNAME

    Rename the temporary file 1 + data in the control file

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to 2 October 08
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid = instance 176 = sbdb2 devtype = DISK

    creation of data fno = 1 name = file & DATA
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2008-10-02 11:02:04
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01180: cannot create the data file 1
    ORA-01110: data file 1: '+ DATA/sbdb/datafile/system.347.666704609 '.

    I used the same procedure to create database pending several times before. They were all successful. This time, the only difference is that I also recreated primary db in the past and this time I do not rebuild primary db. I think that it is bound to the control file. But the message, it seems to pick the right command file for sleep. Any suggestion?

    Thank you very much in advance.

    Error stack

    ' RMAN-06136: ORACLE auxiliary database error: ORA-01180: cannot create the data file 1.
    "ORA-01110: data file 1:"+ DATA/sbdb/datafile/system.347.666704609 '"

    occurs, if RMAN "think" there is no backup data file. In such a case, RMAN attempts to recreate the data files and subsequently applies all necessary for these new files archivelogs created. Which is never possible for datafile 1, which still belongs to the space of SYSTEM tables. Basically, I think you're right, that there is something wrong with the controlfile used during the duplication process. Check if the controlfile maintains valid backups for the current incarnation (incarnation of list + list of backup). The next note of metalink can give more advice:

    THERE ARE AVAILABLE BUT BACKUP RESTORE FAILS WITH RMAN - 03002:ORA - 01180: CANNOT CREATE THE DATA 1 FILE
    NOTE: 727655.1

    Werner

  • in the tables on Pages duplicate entries

    I have a Pages ' 09 with a table document. It contains hundreds of entries. There seems to be a lot of duplicates. Instead of using all of them manually find and delete, is there another way to do this? Also, how can I stick to the top of the table and remove empty lines after deleting of entries?

    Frank

    There are no controls in Pages ' 09, or Numbers ' 09 to remove duplicates of the tables. There is a checkbox in Excel to remove duplicates. There is also a checkbox in LibreOffice Calc under data: filter: Advanced Filter: Options for removing duplicates. Copy / paste your table of Pages in one of these applications and once that duplicates are eliminated, paste the content in a table of Pages.

  • change the size of the table and remove the duplicate line

    Hello

    I run a program that does a for loop 3 times.  In each loop, the data are collected for x and y points (10 in this example).  How can I output the table with 30 points in a simple 2D array (size 2 x 30)?

    Moreover, from the table, how to delete duplicate rows that contain the same value of x?

    Thank you

    hiNi.

    He probaibly which would have allowed to attach a file that has a consecutive duplicate lines.

    Here is a simple solution.

  • widows system error: duplicate name exists on the network

    at startup I get the following: Windows system error: duplicate name on exists on the network, how can I get rid of this?

    Change the name of your computer? See if this helps: http://support.microsoft.com/kb/295017 - B -.
    http://www.officeforlawyers.com | http://www.OneNote-tips.com
    Author: Guide to counsel for Microsoft Outlook

  • Database will return no error, but does not delete the table

    Hello

    I'm developing an application that uses a database (SQLite). I would like to delete and re-create a table in the database (this table is the kind of a cache).

    When I run the following code, I get no error but chrome / ripple-> resources-> "Web SQL", I still see the old structure of the table.

    Do you have any idea what the problem might be or how I can solve it?

           db.transaction(
                function (tx) {
                    tx.executeSql('DROP TABLE IF EXISTS users',[],function (tx, res) {}, function (tx, err) {alert(err.message)});
                    tx.executeSql('CREATE TABLE users (firstname, lastname, phonenumber, emailadd, company)',[],function (tx, res) {}, function (tx, err) {alert(err.message)});
                    for (var i = 0; i < oPerson.length; i++) {
                        tx.executeSql('INSERT INTO users (firstname, lastname, phonenumber, emailadd, company) VALUES ("' + oPerson[i].Firstname + '", "' + oPerson[i].Lastname + '", "' + oPerson[i].Phonenumber + '", "' + '", "' + oPerson[i].Emailadd + '", "' + oPerson[i].Company + '")');
                        iUsers = iUsers + 1;
                    }
                }
    
            );
    

    Thank you very much

    Roberto.

    Hello Roberto,

    There was a problem with your INSERT INTO string where you have provided additional value which did not exist as a database column. Change

     oPerson[i].Phonenumber + '", "' + '", "' + oPerson[i].Emailadd
    

    TO

     oPerson[i].Phonenumber + '", "' +  oPerson[i].Emailadd
    

    Here's a complete code that must run:

    var db = openDatabase('mydb', '2.0', 'Test DB', 4 * 1024 * 1024);
    var iUsers = 0;
    var oPerson = [{Firstname: 'Joe',
        Lastname: 'Smith',
        Phonenumber: '1800CALLJOE',
        emailadd: '[email protected]',
        Company: 'Photojam'},
        {Firstname: 'Jack',
        Lastname: 'Smith',
        Phonenumber: '1800JACK999',
        emailadd: '[email protected]',
        Company: 'Photojam'}
        ];
    db.transaction(
                function (tx) {
                    tx.executeSql('DROP TABLE IF EXISTS users',[],function (tx, res) {}, function (tx, err) {alert(err.message)});
                    tx.executeSql('CREATE TABLE users (firstname, lastname, phonenumber, emailadd, company)',[],function (tx, res) {}, function (tx, err) {alert(err.message)});
                    for (var i = 0; i < oPerson.length; i++) {
                        tx.executeSql('INSERT INTO users (firstname, lastname, phonenumber, emailadd, company) VALUES ("' + oPerson[i].Firstname + '", "' + oPerson[i].Lastname + '", "' + oPerson[i].Phonenumber + '", "' + oPerson[i].Emailadd + '", "' + oPerson[i].Company + '")');
                        iUsers = iUsers + 1;
                    }
                }
    
            );
    

    Let me know if there are problems!

    See you soon,.

    James

  • ODI-26174 error when try to turn the Table in the model

    Hello

    I got a strange error when I try to turn the table in the model.

    I created the new user (with subsidies), I created the new physics and logic diagram.

    I created new model also. When I try to reverse table I ODI-26174 database connection is not available error

    I tried to measure option using RKM reverse .it. But why it has not been reversed by using option Standart?

    ava.sql.SQLException: i/o error: the network adapter could not establish the connection

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)

    at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:74)

    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1128)

    Any Solution for this?

    Concerning

    AETL

    Hi aetl,.

    If you open the database server in the physical topology and click 'test connection', is it effective?

    If this isn't the case, you must set your connection details, maybe check that the tnsnames.ora is correct and that the network access is ok (including firewalls,...). You can try a tnsping on your database.

    Kind regards

    JeromeFr

  • Apex 5.0.2 error when changing the table name in the treatment of automatic line of process (process row)

    Hello

    I need a little help...

    For some reason, I have to change the underlying table for a treatment of automatic process (process Row) line (form).

    Although such a change is possible in the designer of the page (under "settings") Apex does not recognize the new name of the table, but seem to rather use the name of the original table "old."

    Pretty strange (new/modified) (the new table columns) are (correctly) error message.

    For example, the 'old' is: TABLE_1 and TABLE_2 new.

    TABLE_2 has a new COLUMN_NEW column (and corresponding P1234_COLUMN_NEW page element exists)

    Then the error message says something like: not found COLUMN_NEW column in TABLE_1. Althougt I changed the table to be TABLE_2.

    Maybe it's a bug or I do something wrong about this?

    Thank you in advance!

    André

    OK, just to get some - you changed the name of the table twice:

    -Rendering of section--> Page1234: Pagename--> pre-rendering--> after the header--> process of--> line from TABLE_2

    -Treatment article--> treatment--> process--> process of line from TABLE_2

    I thought, that always seek you the line of TABLE_1

    Christian

  • Get the 500 error trying to create a table using the REST API

    Hello

    I tried to create a table using the REST API for Business Intelligence Cloud, but I got 500 Internal Server Error for a while now.

    Here are the details that I use to create a table.

    Capture.JPG

    and the json to create the schema that I use is

    [{'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ["ROWID"]}]

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['RELATIONID']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['ID']}

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['RESPONDEDDATE']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [255], 'columnName': ['RESPONSE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_CREATEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_CREATEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_LASTMODIFIEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_LASTMODIFIEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_SYSTEMMODSTAMP']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [10], 'columnName': ['SYS_ISDELETED']},

    [{'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [50], 'columnName': ['TYPE']}]

    I tried this using postman and code, but I always get the following response error:

    Error 500 - Internal server error

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.5.1 500 internal Server Error

    The server encountered an unexpected condition which prevented him from meeting the demand.

    I am able to 'get' existing table schemas, delete the tables, but I'm not able to make put them and post operations. Can someone help me to identify the problem, if there is no fault in my approach.

    Thank you

    Romaric

    I managed to create a table successfully using the API - the only thing I see in your JSON which is different from mine is that you have square brackets around your values JSON where I have not. Here is my CURL request and extract my JSON file (named createtable.txt in the same directory as my CURL executable):

    curl u [email protected]: password UPDATED h x ' X-ID-TENANT-NAME: tenantname ' h ' Content-Type: application/json '-binary data @createtable.txt https://businessintell-tenantname.analytics.us2.oraclecloud.com/dataload/v1/tables/TABLE_TO_CREATE k

    [

    {

    'columnName': 'ID',

    'dataType': 'DECIMAL ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': false

    },

    {

    'columnName': 'NAME',

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'STATUS."

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'CREATED_DATE."

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    'columnName': 'UPDATED_DATE ',.

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    }

    ]

  • Duplicate sections throughout the table of contents after generating the HTML5 multiscreen output

    Use: RoboHelp 10, version 10.0.0.287

    Steps to reproduce the problem:

    1. click on file > create > main layout (Multiscreen_HTML5)

    2 al ' Generate window click on [Save and Generate]

    3. wait

    4. click on [view results]

    5 results show swathes of the table of contents reproduced in other sections.  10 more times to repeat the generation before that the entire table of contents points are correct and I can publish.  This is not preventing me from doing the job, but it's certainly a time killer.

    Background: I inherited a working version.  I did not create it.  I have more knowledge of the HTML language, but I'm not a developer.  I didn't upgrade beyond RH10 option.  I have studied this many times, but have not been able to find a solution.  The only other thing I've seen sometimes are error messages related to the toctree.js file, but I still don't understand those.  Even when I have not, this past yet, but I have included this error just in case it may be related, although I suspect that it is a separate issue.  I don't currently have the line in the js file because this sample is old and I have not seen the question at least a month.

    Other Notes: I've seen a few posts on a similar question in the printed version, but, I do not have a printed version.  I don't know if that makes a difference, and do I know if anyone in the past that put in place or even where to go to watch.

    TOC_duplicates.jpg

    toctreejs_error.jpg

    Try to move the project to somewhere that the path is not so long and generate a new folder.

    See www.grainge.org for RoboHelp and Authoring information

    @petergrainge

  • ERROR "ora-01422" during insertion in the table?

    Hello

    I have created the dynamic action of PL/SQL to insert data but founded by page_item

    
    
     declare 
    x_found_pages number;
    x_auth_id number;
    x_user_id number;
     begin
     x_user_id := :P41_USR_ID; -- this is my page_item _____ successful run When change it to number value .. !
    
    
    
    
          select count(V_APP_PAGES.PAGE_ID) into x_found_pages
          from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES 
          where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID
          and  V_AUTH_DTL.USR_ID = x_user_id;
       
          select T_AUTH.ID into x_auth_id 
          from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH 
          where T_AUTH_DTL.AUTH_ID=T_AUTH.ID
          and T_AUTH.USR_ID = x_user_id;
    
    
    -- Checking...? 
      if x_found_pages > 0 then
    
            for i in (select V_APP_PAGES.PAGE_ID
               from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES 
               where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID
               and  V_AUTH_DTL.USR_ID = x_user_id)
        
      loop
      insert into T_AUTH_DTL (AUTH_ID,PAGE_ID) values (x_auth_id,i.PAGE_ID);
      end loop;
    
        end if;
    
     end;
    
    
    
    

    Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...

    Thank you...

    AMR Abdeen wrote:

    I have created the dynamic action of PL/SQL to insert data but founded by page_item

    1. declare
    2. number of x_found_pages;
    3. number of x_auth_id;
    4. number of x_user_id;
    5. Start
    6. x_user_id: =: P41_USR_ID; -It is my page_item _ successfully performed when change to value the number...!
    7. SELECT count (V_APP_PAGES. Page_id) in x_found_pages
    8. of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
    9. where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
    10. and V_AUTH_DTL. USR_ID = x_user_id;
    11. Select T_AUTH.ID from x_auth_id
    12. of T_AUTH_DTL T_AUTH_DTL, T_AUTH T_AUTH
    13. where T_AUTH_DTL. AUTH_ID = T_AUTH.ID
    14. and T_AUTH. USR_ID = x_user_id;
    15. -Checking...?
    16. If x_found_pages > 0 then
    17. I'm in (select V_APP_PAGES. PAGE_ID
    18. of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
    19. where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
    20. and V_AUTH_DTL. USR_ID = x_user_id)
    21. loop
    22. insert into T_AUTH_DTL (AUTH_ID, PAGE_ID) values (x_auth_id, i.PAGE_ID);
    23. end loop;
    24. end if;
    25. end;

    Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...

    The error is explicit:

    ORA-01422: exact fetch returns more than number of lines

    Cause: The exact extraction specified number is less than the rows returned.

    Action: Rewrite the query or change the number of rows requested

    This would imply the query in line 16 as County dissociated in the previous one will always return only one row.

    Run

    select T_AUTH.ID into x_auth_id
    from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH
    where T_AUTH_DTL.AUTH_ID=T_AUTH.ID
    and T_AUTH.USR_ID = :x_user_id
    

    in the workshop of SQL by using the P41_USR_ID value in the variable link to find out how many rows it returns.

    It is likely that the entire block can be replaced by a single INSERT statement. If you provide instructions CREATE TABLE, INSERT statements to create sample data and a clear definition of the requirements that we try to do.

    What is the point of the inclusion of tables aliases that are exactly the same as the names of the tables?

  • Complete export dashboard in excel gives error generate document in the table view of subtotals

    Hi all

    We have dashboard with several tabs and you try to export the whole dashboard in excel.

    Excel file is generated with all tabs on the dashboard as the leaves, but few of these leaves are empty with error message of document generation in the first cell.

    After further analysis, we concluded that the cause is seen with subtotals on table. PivotTables with subtotals are generated correctly.

    Workaround obvious to re-create the table views in the articulation points is not possible due to a large number of reports.

    We run Oracle Business Intelligence Product Version 11.1.1.7.150120 (Build 150113.1200 64-bit)

    Any ideas or solutions to this problem would be appreciated.

    Thank you;

    Klaudio

    We just found guilty

    Lines per page to display in the table must be 999999999 max which is more than enough for our needs.

Maybe you are looking for

  • Firefox10 presents a new icon in the taskbar rather than display it in the same symbol

    Firefox10 updated and now it opens a new Firefox icon when Firefox is running rather than change taskbar icon to display its execution. This mess up my whole task bar Setup. Quite annoying.

  • G4-1350br Pavilion: Touchpad two finger roll

    Hello My Pavilion laptop g4 1350br is with a little problem since I've updated for Windows 10, every time I turn on my computer, the scrolling of the finger defects two touchpad is reversed (when I try to move to the top of the screen down), I always

  • Update blackBerry OS of Smartphones has no password keeper?

    I've just updated the OS on my Blackberry Torch a couple of days, and note that the new OS does not seem to include the password keeper in Applications.  I desperately need the information that was contained in it.  How can I retrieve this informatio

  • Cannot activate Windows - laptop stolen, re - install

    I bought Windows Ulimate and installed on my Macbook Air with VM Ware.  Was working fine until my laptop was stolen.  Then I installed it on my new Macbook Air wiith WM Ware.  But I decided to drop the whole virtual upward and install it in its own p

  • Bridge opens on the launch

    OK so first I use a mac, OS X El Capitan. I downloaded creative cloud, downloaded bridge and it opens fine. However, I went to install the 'exit' missing extension, which did not work. And after that this bridge has never been opened again. I click t