Error - Update Row Count in Oracle BI Administraton Tool

Hi Everyone,
I am running XE on the same machine that BI Administrator is running on. I them imported the HR scheme on the Physical Layer. As I try to update row count, I am getting errors:
NQSError : - 10058 , A general error occurred
An error occurred while executing the Physical Statement
Oracle Error 3114 - Not connected to oracle OCI CALL OCIstmtexecute
SQL statement preparation failed.
I am connecting via odbc, but as my connection pool in the physical layer, I have tried all the available type of connection pool, and it does not work. I still get the same error.
Does anyone have any ideas?
Thanks,

Well, could it then be that you are using a different user to connect to through the connection pool? If so, then you have to set the connection pool to prefix the tables with the schema name. I don't have access to the admin tool at the moment to point out exactly how that is done, but at least you right-click on the connection pool, choose properties and there you check a check box that suggests prefixing tables.
The reason here is that the connection pool connects to the database using some username, and all queries are executed as this user. This user then has to have SELECT privileges on all the tables you have imported (which the user does of course if the tables can be found in the same schema), but if some tables have been imported from other schema then the server has to prefix the tables with the correct schema name.
Hope this helps!
Borkur

Similar Messages

  • Purpose of Updating Row Counts in Oracle 11g RPD

    Hello all,
    I'm relatively new to RPD development, and have a relatively simple question. I have searched through the oracle community site and did several google searches for the answer. What is the purpose of Updating Row Counts on the Physical layer of the RPD? I know how to do it for a single table and for all tables. Does it help the planner build better optimized queries?

    Hi,
    Honestly I don't think OBIEE use that info at all (or it would be mandatory).
    It's more an info for the developer, to see if the DB connection works, if the table is the good one without looking at the data itself. It can also inform you if your ETL run or not (data or no data). So for me it's really only a developer helper, nothing OBIEE uses.

  • Update row count is not working but its not throwing any error

    i m using obiee 11.1.1.6.8, where i cant do update row count in physical layer and tools---update row count...nothing was afffected
    iand i cant update rowcount option in physical layer of obieee.
    please help me

    Did u check in Physical DB whether it has data or not? If it has data,Try deleting that table from physical layer and import again.
    Thanks,

  • Obiee oracle gateway error while updating row count

    Hi ,
    OBIEE server 11.1.1.5 ,oracle server11g installed in linux 64bit,
    while updating row count in Admin tool i am getting the following error
    [NQODBC][SQL_STATE:HY000][nQSError:10058] A general error has occured.
    [nQSError: 43113]Message returned from OBIS.
    [nQSError:43093]An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError:17003]Oracle gateway error: OCIEnvNIsCreate or OCIEnvInit failed to initialize environment.Please check your Oracle Client installation and make sure the correct version of OCI libraries are in the library path.
    i am able to check the database from sqlplus it is working fine.
    Any suggestion highly appreciated plzzz

    Make sure your connection pool is valid and able to import or execute reports.
    If everything good as above said, in Physical layer database properties-> general tab choose the database version and try it once.
    If not
    Check the doc id 1271486.1
    Or
    To resolve the issue create a softlink (ln -s) in the <OracleBI>/server/Bin folder to link to the 32-bit Oracle Client Driver file.
    The example below shows how to perform a softlink from the 64 bit directory:
    cd /u10/app/orcladmin/oracle/OracleBI/server/Bin
    ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.10.1
    If helps mark

  • There was an error while updating row count for "SH".."SH".CHANNELS

    Hi All,
    Am new to OBIEE.Pls help in this regard.
    Am building the physical layer as per Repository guide.When am importing the data in to this,am getting the below error.
    *"There was an error while updating row count for "SH".."SH".CHANNELS" :"*
    channles is the table name and having 5 rows.
    but am able to see the data in the sql prompt. like SELECT * FROM SH.CHANNELS then 5 rows data would be displaying..
    pls help in this regard and where is the excat problem?
    Thanks,

    what is the error?
    Make sure that your connection pool settings are okay..
    Make sure that, you are using correct driver in case of if you are using ODBC dsn..
    Also make sure that, your oracle server is running... TNS and Oracle server services

  • Not able to update row count in Physical Layer..connection failed in OBIEE 11g

    Hi Guys,
    I am not able to do Update Row count in the Physical Layer, i am getting an error The Connection has failed. This is in OBIEE 11g Linux env.
    I have put the tnsnames.ora file in the below path:
    /*****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/Oracle_BI1/network/admin/
    I do not have admin under
    /****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/oracle_common/network/
    But if i put the whole TNS entry in the Data Source Name i am able to connect:
    (DESCRIPTION =(ADDRESS = (PROTOCOL= TCP) (HOST= xxx.xxx.com) (PORT= 1671))(CONNECT_DATA = (SERVICE_NAME = US1OBIEE)))
    I am not able to understand the issue..
    Thanks,
    Amit

    Looks like rpd is looking for local tns config... try to use as hostname:port/ServiceName
    This should work, just in case not working! stop doing so since it is know issue.
    If helps mark

  • View Data & Updating row count

    Hi,
    iam using OBIEE 11g, when iam importing data from sysbase into physical layer then in the physical layer i cant able to view data and update row count also.
    For sysbase which dataconnection we have to use i.e (ODBC 3.5, OCI 10g/11g).
    for ODBC 3.5 connection is established but we cant get data i.e (view data in Physical layer ), for OCI 11g we cant establish a connection.
    Thanks in advance.
    prakash

    Hi,
    *• Relational Database System* including Oracle Database, Oracle Exadata Database Machine, Oracle TimesTen In Memory Database, DB2, Microsoft SQL Server, Teradata, Netezza, Informix, Sybase and other ODBC compliant data sources
    *• OLAP Sources* including Oracle Essbase, Hyperion Financial Management, Oracle Database OLAP Services, Oracle RPAS, Microsoft Analysis Services Cubes, and SAP BW Infocubes.
    *• XML Data Sources* including access to other types of data servers (e.g., other non-relational servers), Microsoft Excel spreadsheets, and Web Services.
    So, we should use ODBC 3.5 as Call Interface for Sybase.
    Thanks,
    Balaa...

  • Error while updating row counts

    Hello,
    I have created a connection pool and while trying to do "update all row counts" i am getting the following error.
    [NQODBC][SQL_ATATE:HY000][NQSError: 10058]A general error has occured.
    [NQSError: 43093] Anerror occured while processing the EXECUTE PHYSICAL statement.
    [NQSError: 17001] ORacle error code:942, message:ORA-00942: table or view does not exist at OCI call OCIstmtExecute
    [NQSError: 17010] SQL statement preparation failed.
    Please provide any suggestions.
    Thanks in Advance.

    hi..
    make sure that the data source name and credentials you given in connection pools are correct...
    Also, make sure that the db-user specified in the connection pool has permissions on that table...
    And make sure that the table name is correct and existing in that schema..

  • Error updating and deleting with Oracle (HELP!)

    I have a simple table in Oracle 8.1.7 with this structure:
    CREATE TABLE TC_PROVS_SMS_SA
      CODIGO_OPERADOR     NUMBER(5)                 NOT NULL,
      NOMBRE              VARCHAR2(40)              NOT NULL,
      CON_RELACION_DESDE  DATE,
      NOMBRE_CONTACTO     VARCHAR2(40),
      TELEFONO_CONTACTO   VARCHAR2(10),
      PCT_LIQ_CREDITO     NUMBER(8,5)               DEFAULT 0                     NOT NULL,
      COMENTARIOS         VARCHAR2(4000),
      INSERTADO_POR       VARCHAR2(20),
      INSERTADO_EL        DATE,
      MODIFICADO_POR      VARCHAR2(20),
      MODIFICADO_EL       DATE,
      VERSION             NUMBER(5)
    )CODIGO_OPERADOR is the PK.
    Im editing the data in a form with Text FIelds.
    When I call rowset .updateRow() (in save button action method) I got:
    javax.faces.FacesException: #{editarProv.btnGuardar_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: [Sun][Oracle JDBC Driver]Unable to determine the type of the specified object.
    I already try changing the query limitig columns, I fill all the columns in the database, etc. but no lock.
    Also, trying to delete the row gives me:
    javax.faces.FacesException: #{editarProv.btnBorrar_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: [Sun][Oracle JDBC Driver]Invalid parameter binding(s).
    As you can see, its the Sun�s JDBC.
    PLEASE HELP !!

    Thak you jawbe.
    I avoid the DATE field and scale the NUMBER to NUMBER(p, s) then can insert and update. Im not quite shure if this was the solution or avoiding DATE field (see below).
    There is another problem with DATE field. Since it mapped to TIMESTAMP the component or the JDBC driver spects time information. I can insert and update if I enter date and time but my user shouldnt must enter time info when the field is intented to be just date. Im working now in assigning by hand (from and to rowset) and spect to get working soon.
    The problem with the deleteRow() stills. I will see further and let you known.
    Regards.

  • Update row count in a procedure

    Iam using a procedure to update a table. After the completion of the procedure, it is returning that "PL/SQL procedure completed succefully". I want to return the number of records it updates also. How to achieve this?
    Thanks for the help.

    Please post your question int eh SQL and PL/SQL discussion forum.
    The URL is:
    PL/SQL

  • No row count was produced problem

    Hi i am using the SQL Server 7 and have the following problem
    I am running the following query in SQL server console :
    SELECT Price FROM tblPrices WHERE ItemID = 1 AND StartDate =
    (SELECT MAX(StartDate) FROM tblPrices WHERE ItemID = 1)
    and it gives me a correct result.
    When i am using the following code:
    private Connection dbCon;
    private ResultSet rs;
    private Statement s;
    s=dbCon.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    rs=s.executeQuery(sql);
    i am getting the error "No row count was produced "
    i am using jdbs:odbc driver
    What is wrong?
    Thanks
    Oifa Yulian
    [email protected]

    The error "No row count was produced" normally happens when you run a 'select' query by using
    stmt.executeUpdate(sql);
    The code you have shown doesn't show that, so it looks like you either have discovered a bug no one else has found or you aren't showing us the statement which is producing the error.

  • Error in ScrollHandler row counter values

    HI all,
    I am running JDeveloper 9.0.3(.10.35), and in running a small application I get an incorrect start number in the jbo.DataScroller widget. I have set the rangeSize to 10, and only have 4 rows, but the scroller says "-5-4 of 4".
    It works correctly if I set the rangeSize to 3. If I set the RangeSize to 4, I get 0-4 of 4, and if I set it to 5, I get -1-4-4. It seems it relates the number to the number of the rangeSize, but this number should NEVER be <=0.
    Thoughs anyone? Is posting this here enough to notify of a bug?
    regards
    Brigette

    Hi RajGopal,
    Even in the model layer it gives the same error.
    steps done
    1.Create an attribute in entity and set its value
    2.Override the method doDML in EntityImpl
    protected void doDML(int operation, TransactionEvent e) {
    try{     
    if(this.getTestRank() != null){
    this.setRank(this.getTestRank());
    }else{
    System.out.println("Test rank null");
    super.doDML(operation, e);
    }catch(Exception excep){
    System.out.println("Eceptin in update");
    excep.printStackTrace();
    Exception
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[Group_1 28 ].
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:588)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:596)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:990)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1739)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:3952)
    Thanks,
    Praveen

  • "no row count was produced" error using mqsl commands through Access

    "no row count was produced" error using mqsl commands through Microsoft Access. This sql statement works when I use in in the Access program but it does not work when I try and put it through Access using my Java program. Here is the block of code that I have that does the search.
    public static Game searchRecord(String search) throws SQLException{
    String query = "SELECT* " + "FROM gamefields WHERE SKU = '" + search + "' ORDER BY SKU ASC";
    Game lastGame = new Game(gamefields.getString(1),
    gamefields.getString(2),
    gamefields.getString(3),
    gamefields.getString(4),
    gamefields.getString(5),
    gamefields.getString(6),
    gamefields.getString(7),
    gamefields.getDouble(8));
    Statement statement = connection.createStatement(); //Creates connection
    //statment to database
    statement.executeUpdate(query); //Executes the delete query and Updates the database
    statement.close();
    close();
    open();
    return lastGame;

    When you use the code from java, you access access (!) through the ODBC interface. Things can be different in ODBC and Jet. When you use PrepareadStatements, you should be on the save side:
    public static Game searchRecord(String search) throws SQLException
    String query = "SELECT * FROM gamefields WHERE SKU = ? ORDER BY SKU ASC";
    PreparedStatement statement = connection.prepareStatement(query);
    statement.setString(1,  search);
    ResultSet rs = statement.executeQuery(query);
    if(rs.next()
    // if a row retuned extract the details here
    rs.close();
    statement.close();
    return lastGame;
    }

  • Problem w/: Error while getting estimated row count for view

    JDev 10.1.3 - Steps
    1. created a ADF VO w/ one bind variable vNAME.
    2. Created a basic jspx page, use the data control pal. to drop in VO w/ executeparam option. Use the data control pal to drop in VO w/ ADF Read-Only Table w/ select and sort option. Selected all VO columns in table.
    3. Following Error msg occurs when running jspx page -
    oracle.jbo.DMLException: Error while getting estimated row count for view object CategoryView, statement SELECT count(1) FROM (SELECT
    CATEGORY.CATID CATID,
    CATEGORY.NAME NAME,
    CATEGORY.PICTURE PICTURE,
    CATEGORY.ACTIVE ACTIVE
    FROM
    CATEGORY
    WHERE
    (CATEGORY.NAME LIKE UPPER(:vName)||'%')) .
    Tested SQL Statement in SQL Worksheet works ok (with a Value replacing ':vName').
    Can anyone advise - seems to be a straight forward process that is returning this error msg. I have tried variations of the SQL stmt with no luck. The jspx page errors when the ADF Read-Only Table is added.

    I seem 2 have the same error, in a slightly different situation.
    I have a view which subclasses a Entity with a history column 'CreatedOn'. When performing a quick search/filter on this column I get the same error. The ADF app is build on a DB2 database, so no named parameters here. Instead invalid SQL is created when executing the estimated row count. The WHERE clause contains 'CreatedOn = null', should be 'CreatedOn is null'. Furthermore the input of my quick search is not filled in this clause.
    Any help would be appreciated

  • How to count updated rows after an UPDATE?

    Is there a way to count updated rows after an update?
    Let's say I have an update like
    UPDATE table_a
    set field_1 = 'new_field'
    WHERE field_2 ='some_value' ;
    And now I would like to insert an info record into logging table like
    INSERT INTO logging_tbl (step, description, changed_rows) VALUES('UPDATE', 'update of table_a', ?);
    update is in sqlplus script.
    Thanks.
    Message was edited by:
    br00klynZ00

    Use SQL%ROWCOUNT.
    DECLARE
      v_num NUMBER := 0;
    BEGIN
    UPDATE table_a
    set field_1 = 'new_field'
    WHERE field_2 ='some_value' ;
    v_num := SQL%ROWCOUNT;
    INSERT INTO logging_tbl (step, description, changed_rows)
    VALUES('UPDATE', 'update of table_a', v_num);
    END;

Maybe you are looking for

  • Upgrade on iMac

    Dear All, I have been trying to upgrade my iMac with Leopard, but every time I place the Full Leopard DVD in my iMac it just sticks and never installs. My system also meets the requirements for Leopard bust just won't install...HELP required. The iMa

  • How can I change the Y axis to show my values in a descending order in Numbers. eg zero at the top and the maximum value at bottom?

    Hi, I'm just about getting to grips with Numbers, but I'm stumped at the moment with this problem. I want to show zero at the top on the (y) axis, as zero is the goal and 100 is the starting point? can it be done? i would really appreicate some help

  • Finite scheduling

    Dear guruji when we create process order we check capacity for work center & following message is coming on screen. *No reqmts/caps exists or not relevant to finite* *scheduling* So what change we have to done in work center thanks pankaj kapadia

  • IWeb on two macs ?

    Is it possible to sync my iWeb content between my iMac and macbookpro? Would I have to put the iWeb content on a separate hard drive and connect by firewire each time I want to do some editing?  Not sure at all about how this can be done. Followed an

  • Can't download Mountain Lion after purchase

    I bought Mountain Lion and received two emails. I entered the code to access the pdf that contains a redemption code for the actual download. However, the App store won't accept this code. After and hour on the phone to Apple with no answers I seem t