Migrating from MSSQL2005 to OracleExpress 10g - stored proc problems

I'm trying to migrate from MSSQLExpress2005 to OracleExpress 10g.
I upgraded my SQLDeveloper 1.1.3 to SQLDeveloper 1.2 from Check Updates (Even it still displays 1.1.3 at Help->About, I assume it was upgraded because version of extensions changed to 10.2.0.29.98)
First I have renaming of my objects problem :
Why does SQLDeveloper renames my stored procedures? I dont see any reason to change.Some of about 50 occurrences :
1-"spCPLN_Alloc_ReSortForMultiAttendance" to "spCPLN_lloc_ReSortForMultitten"
2-"spCPLN_Alloc_CalculateFixedConstraints" to "spCPLN_lloc_CalculateFixedCons"
3-"spCPLN_Alloc_GetAllocationResult" to "spCPLN_lloc_GetllocationResult"
Another problem : What is the problem of this T/SQL scode snippet?I cant convert it with Scratch editor too. I got "Unexpected end of subtree : Line 0 Col 0." error
CREATE PROCEDURE spCPLN_XML_InsertDers
@CourseID int,
@Type1 int
AS
BEGIN
IF((NOT EXISTS(
SELECT * FROM DersKur
WHERE CourseID = @CourseID))
AND ( @Type1 = 2 ))
BEGIN
SELECT 1
END
END     
I have more than 15 error like this.
thank you
tuna

Hi Tuna ,
Thanks for the feedback.
Stored procedure names are collision managed so that they are not longer than 30 characters in length. This is a limitation of Oracles object naming convention.
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14261/fundamentals.htm#sthref309
WRT the procedure.
There is a issue in the T-SQL translator which I have logged a bug for.
bug 6127111 NOT EXITS SUB EXPRESSION NOT RECOGNIZED
It looks like the translator cannot recognize the
IF(( NOT EXISTS
and is expecting IF NOT EXISTS.
As a workaround the following manually modified T-SQL translates
T-SQL
CREATE PROCEDURE spCPLN_XML_InsertDers
@CourseID int,
@Type1 int
AS
BEGIN
IF NOT EXISTS(
SELECT * FROM DersKur
WHERE CourseID = @CourseID) AND ( @Type1 = 2 )
BEGIN
SELECT 1
END
END
GENERATED PL/SQL
CREATE OR REPLACE PROCEDURE spCPLN_XML_InsertDers
v_CourseID IN NUMBER DEFAULT NULL ,
v_Type1 IN NUMBER DEFAULT NULL ,
cv_1 IN OUT SYS_REFCURSOR
AS
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE NOT EXISTS ( SELECT *
FROM DersKur
WHERE CourseID = v_CourseID )
AND ( v_Type1 = 2 );
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
BEGIN
OPEN cv_1 FOR
SELECT 1
FROM DUAL ;
END;
END IF;
END;

Similar Messages

  • Hotkey (Ctrl+B) is not working after migration from Forms 6i to 10g

    Dear Gurus,
    Need your help regarding the following problem:
    After migrating from Forms 6i to 10g (Rel 2), Ctrl+B (used to list the blocks in a form) hotkey is not working anymore (all other hotkeys are working fine). I've checked my FMRWEB.RES and it contains an entry for Ctrl+B:
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    Additional Information:
    OS: AIX
    NLS_LANG = UTF8
    fmrweb_utf8.res also contains the same text for Ctrl+B as above.
    I tried to reproduce it on my Windows Machine (with NLS_LANG set to AMERICAN_AMERICA.WE8ISO8859P1) and its not working as well. I don't have right to put move files on AIX server but i can try anything (on my local system) suggested by the Oracle gurus.
    Best Regards,

    Dear Gerd,
    "are you sure, that it is the hotkey"
    Yes, i am dead sure. Since:
    (1) It was working fine in forms 6i
    (2) If you run a form and select Help => Keys, you will see Ctrl+B on the top of list
    The problem is its not taking into account the keys which i am defining in the file (although i am following the same procedure detailed on metalink.oracle.com).
    Regards

  • Forms Migration from 4.5 to 10g

    Hi ,
    I want to migrate my forms from 4.5 to 10g so i did following steps:
    1. Installed Developer suite 10g
    2. Took a sample form developed in 4.5 and comiled it in 10g builder utilized the
    sample.fmx file for 10g the test was successful ,
    I need to migrate a complete application developed in 4.5 forms to 10g and I have
    some existing libraries which I use in my forms , now i'm stuck how to utilize them for
    10g as whenever I open the forms in 10g builder it asks me to remove the library.
    Can please anyone inform me how to utilze the my own user built libraries and esp .
    how to repalce D2KWUTIL with WebUtil and is the way i'm approaching for migartion
    correct ?
    Thanks.
    Jonty.

    Hi ,
    Thanks for the reply ,
    but still i'm not clear how to utilize my libraries as even if i migate to Forms 6i
    which in turn also supports D2KWUTIL ,so how to utilize Webutil instead of
    D2WUTIL while migrating from 6i to 10g.
    Is there any document or paper in suport to it.
    Thanks.

  • MIgration from forms 6i to 10g - Webutil migration also required?

    Do we need to migrate webutil.pll and webutil.olb files as well during migration?

    Best regards,
    I have a tool to migrate from Forms & Reports Ordem call, which allows the automatic migration of Oracle Forms Developer written in versions 3.0, 4.5, 5.0, 6i or 9i to the latest version Oracle Forms Developer 10g to 10g or JAVA .
    If you require more information from our tool I can send information to e [email protected] and gladly put myself in communication with you and review the issue in detail.
    DANIEL TRIANA

  • Migrating from forms 6i to 10g

    we are planning to upgrade from forms 6i to 10g
    please provide me steps for migrating from oracle forms 6i to 10g
    what are the prerequisite?
    please help
    thanks in advance

    Hi;
    1. Here is Db installation related forum site. There are seeded forum site for forms.For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    2. For your question see:
    Migration to Designer 6i, 9i and 10g - FAQ [ID 198119.1]
    What Is the Easiest and Quickest Way to Migrate From 6i To 10g Reports? [ID 316269.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Data migration from oracle 8i to 10g

    hi
    i want to move data from oracle 8i to 10g. I just want to move data, and nothing else. Tables with the same names and fields are already in 10g. every thing is already there in 10g except data.
    tell me some hints and solutions so that i can use imp and exp to move the data from 8i to 10g without any data loss and in a secure way.
    thanks

    there is another point that oracle 10g also contain some data. and tables and field names are same in 10g as in 8i. if i use "imp full=y" then is there any chance of data loss that is already in 10g? and are there any chances that data file are overwritten? tell me the risks and solutions.

  • Migration from DB2 to Oracle 10g using free tools

    Dear all,
    Im currently using DB2 database and wish to migrate data over to Oracle 10g express. However, i could not find any free tools or methods to migrate without using tools as i could not use tools like Oracle Migration Workbench as the migration is for certain project which will deal with internal process or commercial purpose.
    Would like to seek everybody's help. Greatly appreciation your response.
    Regards,
    Kee Cheng =)

    nvr4getu wrote:
    Thanks. But have you heard of creating a heterogenous services, create a database link between the 2 database, then transform over to Oracle?I thought you were looking for a free tool. With HS, you'll have to buy the component to install on the DB2 system. Unless something has changed since the last time I worked in a mixed Oracle/DB2 shop.

  • Migration from Access to Oracle 10g (Problem with migration wizard)

    Hi
    I have an access database which I want to migrate to Oracle DB.
    I have created 2 connections.
    1. Access connection with the source database
    2. Oracle connection.
    I have associated the oracle connection to the repository.
    When I go through 'MIGRATION WIZARD' process. I am not able to view the source database file while capturing. Tried it several times.
    Need a help in this
    Regards,
    Arjun
    Edited by: 919650 on Mar 9, 2012 2:47 AM

    Arjun,
    you cannot do an online migration with MS Access as you can do with other foreign datasources. You can only do an offline migration.
    The first step that you need to do is to call the Microsoft Access Exporter. Click on Tools - Migration - Microsoft Access Exporter and chose the exporter of the MS Access version that you are using.
    The exporter creates an xml file for you. After the exporter has finished you can do the migration, click on Tools - Migration - Migrate, but in Step 4 please select "Offline", and then you can select the xml file that the exporter has created. The following steps in the Migration assistant are then doing the migration for you.
    You might also want to read the chapter "Before Migrating From Microsoft Access" in the online help of SQL Developer.
    Regards
    Wolfgang

  • Oracle stored proc problem

    HI, I have created a stored proc in oracle similar below:
    CREATE OR REPLACE PACKAGE PACK_REFCURSOR_NHM_TRANSACTION AS
    TYPE TRANS_TableRows IS REF CURSOR
    RETURN NHM_TRANSACTION%ROWTYPE;
    PROCEDURE REFCUR_NHM_TRANSACTION (
    IN_sTMPACC IN string,
    IN_sITEM_TYPES IN string,
    OUT_TRANS OUT TRANS_TableRows);
    END PACK_REFCURSOR_NHM_TRANSACTION ;
    -- the above works fine
    --but this one below has the error when
    CREATE OR REPLACE PACKAGE BODY PACK_REFCURSOR_NHM_TRANSACTION
    AS
    PROCEDURE REFCUR_NHM_TRANSACTION (
    IN_sTMPACC IN string,
    IN_sITEM_TYPES IN string,
    OUT_TRANS OUT TRANS_TableRows) IS
    BEGIN
    OPEN OUT_TRANS FOR
    SELECT T.TRANSACTION_ID, T.TRANSACTION_TYPE,
    T.TRANSACTION_DATE, T.TRANSACTION_TIME,
    T.ITEM_CODE, 0 OE_DETAIL_ID,
    T.QUANTITY, T.LIST_PRICE, T.DISCOUNT, T.SALE_PRICE,
    T.GST_AMOUNT, 'I'INSURER_TYPE
    FROM NHM_TRANSACTION T
    WHERE DISPENSED_FLG = 'Y'
    AND T.ACCOUNT_ID = IN_sTMPACC
    AND T.TRANSACTION_TYPE IN ('01','02', '09')
    AND NVL(T.STATUS,'F') != 'C'
    AND T.BILLED_FLG = 'N'
    AND T.ITEM_TYPE IN (IN_sITEM_TYPES)
    AND T.BILL_ITEM_FLG = 'Y'
    UNION ALL
    SELECT T.OE_TRANSACTION_ID TRANSACTION_ID, TRANSACTION_TYPE,
    T.TRANSACTION_DATE,
    T.TRANSACTION_TIME, NVL(T.ITEM_CODE,T.PACKAGE_CODE)
    ITEM_CODE, T.OE_DETAIL_ID,
    T.QUANTITY, T.LIST_PRICE, T.DISCOUNT, T.SALE_PRICE,
    T.GST_AMOUNT, 'S' INSURER_TYPE
    FROM NHC_OE_TRANSACTION T, NHC_MASTER_ITEM M, NHM_PACKAGE P
    WHERE T.ACCOUNT_ID = IN_sTMPACC
    AND T.ITEM_CODE = M.ITEM_CODE(+)
    AND T.PACKAGE_CODE = P.PACKAGE_CODE(+)
    AND (DECODE(T.ITEM_CODE,NULL,P.BILL_OPTION,M.BILL_OPTION) in
    ('P','O','F'))
    AND NVL(T.STATUS,'F') != 'C'
    AND T.BILLED_FLG = 'N'
    AND ((T.TRANSACTION_TYPE = '09' AND STATUS IN ('P','R'))
    OR T.TRANSACTION_TYPE IN ('01','02','11','12', '10'))
    AND T.BILL_ITEM_FLG = 'Y'
    AND T.ITEM_TYPE IN (IN_sITEM_TYPES) ;
    END REFCUR_NHM_TRANSACTION ;
    END PACK_REFCURSOR_NHM_TRANSACTION ;
    --this gives error: PLS-00382: expression is of wrong type
    but when i tried to change the query similar to this:
    OPEN OUT_TRANS FOR
    SELECT T.*
    FROM NHM_TRANSACTION T
    WHERE DISPENSED_FLG = 'Y'
    AND T.ACCOUNT_ID = IN_sTMPACC
    AND T.TRANSACTION_TYPE IN ('01','02', '09')
    AND NVL(T.STATUS,'F') != 'C'
    AND T.BILLED_FLG = 'N'
    AND T.ITEM_TYPE IN (IN_sITEM_TYPES)
    AND T.BILL_ITEM_FLG = 'Y' ;
    --that worked fine. what i found out is the proc doesn't seem
    to work with complicated queries. instead it works only in
    something similar to SELECT T.*? and not when individual fields are
    extracted? I can't understand why? can anyone help me with this>
    thanks.

    I think what is hapenning is that you are declaring the
    reference cursor in your package spec as a "strong" type as a
    rowtype of table NHM_TRANSACTION. However, in your OPEN FOR SELECT
    statement, you are selecting columns that do not exist in the the
    NHM_TRANSACTION table, such as 0 OE_DETAIL_ID, 'I'INSURER_TYPE,
    etc.
    You would be much better off to declare your reference cursor
    as a "weak" type so that your OPEN FOR SELECT statement actually
    defines the return structure:
    TYPE TRANS_TableRows
    IS REF CURSOR;
    In other words, leave off the RETURN NHM_TRANSACTION%ROWTYPE
    in your ref cursor declaration, and you would probably be OK
    (assuming, of course, that all of the columns selected in your
    UNION statements are like data types).
    Phil

  • Call stored proc problem (SQL exception)

    Hello
    I have a stored procedure with one param
    as follows:
    PROCEDURE test1 (xnrid IN VARCHAR2)
    This stored procedure is created in package known as "smart".
    I tried to call my stored proc via toplink as follows:
              UnitOfWork uow= dbSession.acquireUnitOfWork();
              StoredProcedureCall storedProcedureCall = new StoredProcedureCall();
              storedProcedureCall.setProcedureName("smart.test1");
              storedProcedureCall.addNamedArgument("xnrid");
              DataReadQuery query = new DataReadQuery();
              query.setCall(storedProcedureCall);
              Vector parameters = new Vector();
              //storedProcedureCall.setUsesBinding(true);
              /** For all input params **/
              query.addArgument("xnrid");
              parameters.add("ffff");
              /** execute query **/
              Object result = dbSession.executeQuery(query, parameters);
    And I have good oracle exception such as
    Internal Exception: java.sql.SQLException: ORA-00900: invalid SQL statement
    Error Code: 900
    Call:BEGIN smart.test1(xnrid=>'ffff'); END;
    Any help is appreciated
    gurcan

    Hi Sharon
    1. You said this code is written in the stored procedure.
    2. The scope of the temporary table is valid till its executer's session is valid.
    3. So if you execute the stored procedure and then try to find these temporary tables then you wont find them as the stored procedure has already finished its execution. And as soon as the execution of the stored procedure is over these temporary tables are automatically deleted.
    4. If you try to execute the code individually then it will show up untill you are logged on. And as your session is valid (Untill you are logged on), SQL Server will show up the tables.
    5. As a proof-of-concept:
    - Logon to SQL Server.
    - Create a temporary table.
    - Log off from SQL Server.
    - Log on again and try to find the temp table you created. It would not be there as it was valid only for your earlier session.
    Let me know if you have any further queries.
    Regards
    Nikhil

  • Stored Proc Problem

    Hi everyone,
    I have inherited a classic asp site that uses stored procs with a SQL 2005 Server. The problem is this, when I open up "Command" to view the data that my predecessor used all seems ok as I am not an expert in Stored Procs and am just learning this web application. I do not make any changes and then select "OK" - when I do this an error comes up telling me that there is a "MIssing Run Time Variable" for a particular variable. The site itself works well so the error seems incorrect.
    Because I inherited the site and do not have access to my predecessors computer is there a chance that because I am opening the "Command" box for the first time that I am not seeing exactly what was added into it originally??
    I am at a bit of a loss and would really appreciate a steer in the right direction.
    Many thanks
    Scott

    I would not worry too much if it works. I have noticed that if I enter 'custom' code that DW gives me error messages when the code is actually O/k.
    HTH

  • Stored Procs problems

    Hi EveryBody,
    I might sound silly with my problems but please reply me with best possible solutions.
    Let me clear the scenario first
    I am having Oracle 8.1.7.2 on sunsparc solaris machines as production system and oracle 8.1.7.5 on intel server with windows as testing machine.
    I have written some stored procs that get executed very finely on my testing machine but they take ten times more time on my production server even after we bring down the application and only database is kept up.
    We looked up for few things here and there and these are our findings
    1) A lot number of sessions are created with the user(that is having all tables we are firing our procs upon) . I want to know can a stored proc also create different sessions (bcoz 1 stored proc is callling two or more procs)
    2)There are a few cron jobs executing that are used for analyze of the tables that we fire our procs upon. Could this also hamper performance of stored procs.
    3) In the v$session_longops we found that there are few Table Scan and Index Scan processes that were showing time remaining of more than 20 hrs. the sid for these longops did not belong to usernames with which any app. or any user logs into oracle.
    4) One of my procs does not responds for a no. of hrs but as soon as we kill the session using (alter system kill session) it starts populating the table and generating results. And the session gets marked for killed but never gets killed.
    Please help me for these issues

    hi kamal
    data volume on both servers is same as first i took backup of production server by exporting it to dmp and then imported it to test server.
    the scripts of procs are same for both infact scripts were first developed on test server and after testing there only we put those scripts in production
    i dont have any idea about tkproof (completely new term for me or if u r using it as an abbreviation)
    moreover the tables have been analyaed on both servers.

  • Calling Oracle 10g Stored Proc with Assoc Array from C# VS 2008

    I have the following PL/SQL procedure:
    CREATE OR REPLACE PROCEDURE HMA_ADM.PRC_VDM_SAVDEL_VEN_DOC
    P_OP IN VARCHAR2,
    P_USRID IN TB_VDM_MANAGE_DOCUMENTS.CREATEDBY%TYPE,
    P_DATE IN VARCHAR2, -- HAS TO BE STRING, ELSE WE GET AN ERROR
    P_DOCNAM IN TB_VDM_MANAGE_DOCUMENTS.DOCUMENT_NAME%TYPE,
    P_DOCLNK IN TB_VDM_MANAGE_DOCUMENTS.DOCUMENTLINK%TYPE,
    P_FNGUID IN TB_VDM_MANAGE_DOCUMENTS.FILENET_GUID%TYPE,
    P_DESC IN TB_VDM_MANAGE_DOCUMENTS.DESCRIPTION%TYPE,
    P_REQID IN VARR
    ) IS
    Where VARR is:
    CREATE OR REPLACE TYPE VARR IS TABLE OF INTEGER;
    In C# I have the following code:
    int64[] intReqID;
    OracleCommand cmdVDL = new OracleCommand(DBQueries.SPQRY_SAVDELVENDOC, connDB);
    cmdVDL.CommandType = CommandType.StoredProcedure;
    cmdVDL.Parameters.Add(new OracleParameter("P_OP", strOP));
    cmdVDL.Parameters.Add(new OracleParameter("P_CREATEBY", strUID));
    cmdVDL.Parameters.Add(new OracleParameter("P_CREATEDATE", strDate));
    cmdVDL.Parameters.Add(new OracleParameter("P_DOCNAM", strDocNam));
    cmdVDL.Parameters.Add(new OracleParameter("P_DOCLNK", strURL));
    cmdVDL.Parameters.Add(new OracleParameter("P_FNGUID", strGUID));
    cmdVDL.Parameters.Add(new OracleParameter("P_DESC", strDesc));
    cmdVDL.Parameters.Add(new OracleParameter("P_REQID", OracleDbType.Int64) {
    CollectionType = OracleCollectionType.PLSQLAssociativeArray,
    Size = intReqID.Count(),
    Value = intReqID,
    DbType = DbType.Int64,
    OracleDbType = OracleDbType.Int64
    OracleParameterStatus[] stat = new OracleParameterStatus[intReqID.Count()];
    for (i = 0; i < intReqID.Count(); i++) {
    stat[i] = OracleParameterStatus.Success;
    cmdVDL.Parameters["P_REQID"].ArrayBindStatus = stat;
    cmdVDL.ExecuteNonQuery();
    When I run this I get the following error:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'PRC_VDM_SAVDEL_VEN_DOC'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    If I remove the Associative Array from both, the procedure runs fine.
    What am I doing wrong?

    Additionally,
    1) UDT support requires 11106.20 or higher ODP (but can be used against 10g db)
    2) if the plsql is changeable, you may want to swap it to associative array instead to avoid having to create custom classes for the UDT, and here's a short sweet example.
    Greg
    CREATE or replace PACKAGE MYPACK3 AS
    TYPE numarray is table of number index by BINARY_INTEGER;
    PROCEDURE getempsinarray(thearray IN numarray, numrecs out number);
    END MYPACK3;
    CREATE or replace PACKAGE BODY MYPACK3 AS
    PROCEDURE getempsinarray(thearray IN numarray, numrecs out number)
    IS
    begin
      numrecs :=  thearray.count;
    END getempsinarray;
    END MYPACK3;
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    public class indexby
         public static void Main()
          OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger;");
          con.Open();
          OracleCommand cmd = new OracleCommand("mypack3.getempsinarray", con);
          cmd.CommandType = CommandType.StoredProcedure;
          OracleParameter Param1 = cmd.Parameters.Add("param1", OracleDbType.Int32);
          Param1.Direction = ParameterDirection.Input;
          Param1.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
          Param1.Value = new int[3]{7369,7499, 7521};
          Param1.Size = 3;
          OracleParameter Param2 = cmd.Parameters.Add("param2", OracleDbType.Int32, DBNull.Value, ParameterDirection.Output );
         cmd.ExecuteNonQuery();
         Console.WriteLine("{0} records passed in",Param2.Value);               
          con.Close();
    }

  • DB Migration from SAPDB to Oracle 10g - Archive access after migration?

    Hi!
    Our customer plans to move his SAP system landscape from one Service Provider to another. During this not only new hardware is used but also a DB migration will be done using the procedure described in the SAP System Copy Guide (SAPDB -> Oracle - Offline Export in source system,
    Import in target system).
    SAPSID and client will be the same in the new environment, but of course HW key, IP-adress, Server name, Domain name and obviously Installation no. will change. SAP Note 153433 as well as System Copy Guide do not completely clearly tell me, whether we will face problems when trying to access our archived data after the migration. It's not completely clear to me, how the Archive References are
    built: Only using SAPSID and client? Then everything should be okay, because here we plan no changes.
    So do we have to face any problems when trying to access and/or reload the archived files and objects after the movement to the new service provider? Are there any pitfalls concerning archviving and archive access we have to take in mind?
    Add. info: The archvied files and objects are stored in an IBM Common Store which will be moved physically from location A to B. So here nothing changes.
    Thanx in advance for any hint.
    BTW: SAP Notes 153433, 460620 and 53068 were already studied. SAP support said this is a consulting issue ... ;-(
    Regards,
    Volker Kolberg

    Hi Volker,
    I haven't worked much on archiving, however Archived files are flat files ( I think) and hence these files should be common for all databases.
    However a good strategy is to first test. I think you must have already thought about it however still here is what you could do.
    Take system copy of the system you want to migrate ( you could choose a development system where there is not much data)
    Delete data the production clients in the copied system.
    Archive some data using object something like WORKITEM which is harmless workflow object.
    Migrate the system and try to reload the object
    Hope that helps.
    Regards,
    Siddhesh

  • Migration from disc 4 to 10g

    Hi all,
    I'm posting to have some help from discoverer experts.
    We're trying to migrate discoverer 4 to 10g, which I've already done in the past and was quite straight forward. Although, we are experiencing some problems this time.
    Here are the steps :
    1 - I backup everything from EUL4
    2 - I upgrade the EUL to version 5
    3 - I use discoverer desktop 10g to access to the database and everything seems to be all right.
    However, there is one report that seems not have migrated correctly. When using discoverer 4, it takes 15 secondes to run and show the result. Using discoverer 10g, it takes more than 20 minutes. I've noticed that the query are the same and run quickly on the database (with both of versions, we see that the query is executed and the result is quickly sent back). On discoverer 10g, it seems to run a long time on "sorting data" part (even if I take out all sorts), after he has got the result.
    Question 1 : Can I use discoverer 4 reports and use them with disc 10g ? I guess so
    Question 2 : Is there something known that disc 4 does but disc 10g can't ?
    Before opening the report and find the thing that cause the problem (which could take a long time), I was wondering if someone here has an idea. I couldn't say what exactly is the report since it's a huge one and has a lot of conditions and use almost everything that discoverer has to offer.
    Thanks in advance for your help and ideas.
    Pat

    Pat.
    As far as I know, there's nothing obvious that could effect performance adversely for 10g - as the SQL generated, etc. from 10g is supposed to be far superior to 4.x.
    1. If you're asking can you use Disco 4 and Disco 10 at the same time, if 10g created a new EUL then yes - if each in different Oracle homes. However, it's pretty impractical for the long term.
    2. The biggest few issues I can think of, for being in 4.x and not in 10g is:
    a. subquery - this was a flakey concept in Disco anyway (ie: one sheet calling another sheet), but is not available in 10g
    b. total number of pages - things that 'looked ahead' (ie: for display page 1 of 200), the total pages (200) option is now not there
    Here's a few ideas that I'm wondering may be causing the problem.
    1. do you have statistics on in the new 10g version?
    2. is it a crosstab report?
    3. are the governor settings different now?
    4. are you pointing to a BIS or NoetixViews view?
    5. are the column headings calculated (ie: a calculation displayed as the heading?)
    Apart from that, I'm guessing that under 10g you're now using iAS? (you don't have to but most do), so that brings all the fun of having another middle layer box / software that might need to be optimized (ie: the 2 config files on the Disco server).
    Russ

Maybe you are looking for

  • Attempted to divide by zero. Error while executing the script

    Hi All, I using a script I found long back and I'm trying to use to get disk space info from different servers with separate credentials. I'm getting the below error and it has eaten my head but I'm not able to figure out where the problem lies in th

  • System.privilege.admin problem

    Good afternoon. Please excuse if this has already been asked and answered, but after searching for a few days I still haven't found a fix for this: After I had to wipe the hard drive on my G5 (don't ask), I reinstalled the OS from the DVD and then us

  • Touch Tones via speed dial work now

    The 3G iPhone (or the 2.0 software) seems to have fixed the issue where you could not program your speed dial to automatically enter your mailbox number and password on your voicemail system (I use AUDIX at work). With the original iPhone, the tones

  • Web Form :Number of rows and columns

    Hi All, I have a web form with many rows and columns . Is it possible for a user to view only a limited rows in the form ?  Not using Adhoc/Analyze option . since there are formula rows which wont appear in Analyze grid. The user want to see only 5 t

  • 2 songs that won't sync with iPhone 4

    I have 2 "songs" in iTunes that won't sync with my iPhone 4. I say "songs" because they are 30-minute treadmill workout songs that I purchased a long time ago when I had a 3rd generation iPod Touch and used the old Nike+ system that required a sensor