10g db fr toad

hiii,
i have oracle 10g db 64 bits installed on windows 7 (64 bits) and i installed TOAD 10.5 .can i connect this 10g db through toad or i must have oracle instant client 32 bit (not 10g full db) to get connected through toad?
your help highly appreciated,thanks.

938946 wrote:
hiii,
i have oracle 10g db 64 bits installed on windows 7 (64 bits)Not a certified combination. Doubley not certified if it is Windows 7 Home.
and i installed TOAD 10.5 .can i connect this 10g db through toad or i must have oracle instant client 32 bit (not 10g full db) to get connected through toad? An installation of Oracle Database includes the client connectivity software. What front-end tool (like toad) you choose to use is up to you, but it will still require access to the oracle client software.
But since you are asking what you need specifically for Toad, you'd be better served to ask that in a Toad forum. Toad is not an Oracle product.
your help highly appreciated,thanks.

Similar Messages

  • 10g client with Toad - why bother?

    Hi.
    I am doing several installations of 10g client yet to get access to the db the machines will use Toad. What does the "light" client contain? Must every machine actually have the client installed? To access the db with Toad / SQL*Plus - what does the client contain that makes it necessary to install beforehand?
    DA

    Some application use JDBC connection instead of native Oracle SQLNet connection. In that case, Oracle client installation is not required.
    Some tools support both types of connection for example SQL Developer,
    http://www.oracle.com/technology/products/database/sql_developer/index.html
    Oracle Instant Client Light (English) support different kinds of connectString, for example,
    As an SQL Connect URL string, of the form: //host:[port][service name]
    As an Oracle Net keyword-value pair. For example:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (HOST=myserver111) (PORT=5521))
    (CONNECT_DATA=(SERVICE_NAME=bjava21)))
    As an entry in the tnsnames.ora file.
    So you don't have to configure tnsnames using netca in this case.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14294/install.htm#sthref126

  • Configure 10g client to toad...

    HI,
    My OS - Win 7 64 bit..
    I installed Toad.. wen i tried to connect database ..am getting below error .. i alredy added this in tha PATH -
    Initialization error
    Could not load "D:\oracle\product\10.2.0\client_1\oci.dll"
    Thanks

    Hi;
    What is your toad version?32 bit or 64 bit?
    By the way your issue is not related with EBS so i suggest move your issue to Forum Home » Database » Database - General part or toad site
    Regard
    Helios

  • Install Oracle 10g with Toad 9.1

    Hi All,
    I am a novice in database(SQL,PLSQL) programming and hence want to learn and practise very deeply in detail for which i want to install Oracle 10g client with Toad 9.1.So need your advise on the process.
    (a)Do i need to download entire Oracle Enterprise Edition Installation for Vista? I have read in one of the forums that downloading only the Oracle Client is enough?
    Can you please advise me?
    (b)I already have the TOAD 9.1 setup with me which i can install.But,i do not know that how will i use TOAD interface and connect to the oracle database.
    (c)Also,any sample script/database with some tables that i can use for learning complex SQL query writing would be very helpful.In brief-any project that i can work on in building all the requirements by writing SQL which simulates real time scenarios of SQL development.
    Please help me ,i am struggling.
    Thanks
    Dev

    Hi all,
    Thanks a lot for all your inputs.Its very useful and presently I am following the steps suggested.
    I had another doubt with respect to this.While attending a oracle course,the instructor had told about an installation option of installing oracle 10g on Linux using VMware/virtual -i am sorry i am not sure about it.
    So,can you please give your inputs about this process as I dont know about how to setup?
    (a)What are the tools that i will need to build a virtual machine in my present computer with Linux as the OS?
    And,what are the steps we need to do ?
    (b)How do i use a vitual machine if i install it? I mean how will it work?
    (c)Then,at last how do i install Oracle with Linux on that?
    Please help me with some more inputs
    --Dev                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Using TOAD 7.6.0.11 with Oracle Client 10g (Release 2)

    So far, I've been using Oracle Client 9i.
    I decided to install Oracle Client 10g and thus copied 9i's tnsnames.ora over to 10g. The problem is when I fire up TOAD. It doesn't show the 10g client in the drop down menu nor in the Oracle Home Editor button. It only shows 9i (i.e., ias_home)
    How do I make 10g visible to TOAD?

    Use SQL Developer or try to post it in other forum...<br>
    <br>
    Nicolas.

  • OCI version 10.1.0.2.0 is not supported in Toad

    I have upgraded my 9203 Oracle database to 10.1.0.2. Now when I connect to the database via TOAD 7.6, it gives me the following error:
    "OCI version 10.1.0.2.0 is not supported"
    Can some one let me know about how to solve this problem.
    Thanks in Advance.
    -Bikash

    Here an answer from askTom:
    Hi Tom,
    I am not sure if I can ask this question in this thread or whether you are aware
    of the following problem (as you are very fond of SQL*plus... ;) ).
    I was happily usig toad 7.6 to work with oracle 9i. But now an upgrade to 10g
    has caused toad fail to connect. Error "OCI version 10.1.0.2.0 is not
    supported". But if I install 9i client and try to connect, then it works fine.
    Is there any workaround?
    Thanks and regards
    Praveen
    Followup:
    you'd have to ask the makers of toad if they have a 10g client version or not.
    Basically what is happening is that you have a 9i compiled piece of client
    software (toad).
    it uses, it depends on the 9i client software.
    in order to use the 10g client software -- you'd need a new binary from the
    makers of toad.
    SQLPlus would be the same -- the 9i sqlplus needs the 9i client, the 10g sqlplus
    needs the 10g client and so on.
    As it is -- you are OK right now, you have installed the software needed by toad
    and a 9i client connecting to a 10g database is "ok, supported and normal"

  • 11g: can connet using SQL*PLUS, not with TOAD

    Hi
    I run into a problem with TOAD. I can't connect with my 11g database using TOAD. I don't get any messages it just gives me a little waiticon for a split second and then nothing happens. I can however connect to my 10g database using TOAD. Using SQL*Plus I can connect to both.
    I use TOAD 8.6. Do I need a newer version maybe??...

    I can connect like:
    hr/pw@xe
    or
    hr/pw@O11R1
    or directly, no problem. I can connect from SQLplus to both databases any way I want

  • Table Sequence

    Hi All,
    I am using Oracle 10g Release 2 & Toad 6.4.7.1 g. In my toad table showing in zigzag way mean the entire table not coming in a alphabetical order. But, no problem in Oracle 10g Release 1.
    How can I resolve this problem in Release 2 and what is the possible to show all the tables in alphabetical order?
    Regards
    Mani

    This problem means relative to Toad, no ?
    Nicolas.

  • XMLAGG - Problem using Order By (version 10.1.0.2.0)

    Hi.
    Below is a function I am having a problem compiling when I include the order by parameter on the XMLAGG. If I remove the order by, it compiles fine. I can run the Select statement in SQL Plus (without it being a part of the function) and it works fine. However, as a part of a function it will not work. I am using Oracle 10g 10.1.0.2.0.
    Any Ideas?
    CREATE OR REPLACE
    FUNCTION XML_LEVELPRODUCTS(FULLORDERNO_IN VARCHAR2 DEFAULT NULL)
    RETURN XMLPKG.xml_type
    AS
    XML xmlpkg.xml_type;
    BEGIN
    OPEN XML FOR
    SELECT
    XMLELEMENT("ORDERLINE",
    XMLELEMENT("ORDERNO",S.ORDERNO),
    XMLELEMENT("PRODUCT_TOTAL",F.PRODUCTDOLLARS),
    XMLELEMENT("POSTAGE",F.POSTAGE_HANDLING),
    XMLELEMENT("SALES_TAX",F.SALES_TAX),
    XMLELEMENT("TOTAL",F.ORDER_TOTAL),
    XMLELEMENT("SHIP_METHOD",(select RTRIM(DESCSHORT) from SHIPMETHODS where CODIVSM = COMPANY || DIVISION || SHIPMETHOD AND ROWNUM < 2)),
    XMLELEMENT("SHIP_DATE",TO_CHAR(TO_DATE(SHIPDATE,'YYYYMMDD'), 'MONTH DD, YYYY')),
    (SELECT
    XMLELEMENT("SHIP_ADDRESS",
    XMLELEMENT("CUSTOMER_ID",CUSTOMER.CUSTEDP),
    XMLELEMENT("CUST_NUM",CUSTNO),
    XMLELEMENT("COMPANY_NAME",RTRIM(NAMEX)),
    XMLELEMENT("LAST",RTRIM(LNAME)),
    XMLELEMENT("MI",RTRIM(MI)),
    XMLELEMENT("FIRST",RTRIM(FNAME)),
    XMLELEMENT("FULL_NAME",buildFullName(FNAME,MI,LNAME)),
    XMLELEMENT("PREFIX",CASE SUBSTR(M.CTLDATA,1,1)
    WHEN 'P' THEN RTRIM(SUBSTR(M.CTLDATA,9,40))
    ELSE ''
    END),
    XMLELEMENT("SUFFIX",CASE SUBSTR(M.CTLDATA,1,1)
    WHEN 'S' THEN RTRIM(SUBSTR(M.CTLDATA,9,40))
    ELSE ''
    END),
    XMLELEMENT("STREET",RTRIM(STREET)),
    XMLELEMENT("REF1",RTRIM(REF1)),
    XMLELEMENT("REF2",RTRIM(REF2)),
    XMLELEMENT("CITY",RTRIM(CITY)),
    XMLELEMENT("STATE",RTRIM(STATE)),
    XMLELEMENT("ZIP",RTRIM(ZIP)),
    XMLELEMENT("COUNTRY",(select RTRIM(COUNTRYNAME) from COUNTRIES WHERE COUNTRY= COUNTRYCODE)),
    XMLELEMENT("DAYPHONE",RTRIM(formatPhone(DAYPHONE))),
    XMLELEMENT("NIGHTPHONE",RTRIM(formatPhone(NIGHTPHONE))),
    XMLELEMENT("FAX",RTRIM(formatPhone(FAXPHONE)))
    FROM CUSTOMERS CUSTOMER
    LEFT outer join CUSTOMERPHONE p on p.CUSTEDP = CUSTOMER.CUSTEDP
    LEFT OUTER JOIN CUSTOMERADDL A on A.CUSTEDP = CUSTOMER.CUSTEDP
    LEFT OUTER JOIN CTLMAST M ON M.CTLID = '0000TITLE' || CUSTOMER.TITLE
    WHERE S.SHIPCUSTNO = CUSTOMER.CUSTEDP
    (SELECT XMLAGG(
    XMLELEMENT("PRODUCT",
    XMLELEMENT("SLOTID",SLOTID),
    XMLELEMENT("FULLORDERNO",FULLORDERNO),
    XMLELEMENT("EDPNO",EDPNO),
    XMLELEMENT("ITEMNO",ITEMNO),
    XMLELEMENT("DESCRIPTION",DESCRIPTION),
    XMLELEMENT("LINENUM",LINENUM),
    XMLELEMENT("QTY",QTY),
    XMLELEMENT("PRICE",PRICE),
    XMLELEMENT("PRODUCT_TYPE",PRODUCT_TYPE),
    XMLELEMENT("STATUS",STATUS),
    XMLELEMENT("SHIP_METHOD",(select DESCLONG from SHIPMETHODS where CODIVSM = COMPANY || DIVISION || SHIPMETHOD AND ROWNUM < 2)),
    XMLELEMENT("SHIP_DATE",SHIPDATE),
    (SELECT
    XMLAGG(XMLELEMENT("SERIALNUMS",
    XMLELEMENT("SERIALNUM", SUBSTR(AC.ACTIONCD,1,30))
    FROM ORDERACTIONS AC
    WHERE AC.MESSAGECD = 'SER-NO' AND
    AC.FULLORDERNO = P.FULLORDERNO
    ) ORDER BY P.LINENUM
    FROM CM_ORDER_PRODUCTS P
    where P.FULLORDERNO = S.FULLORDERNO
    FROM CM_ORDER_LEVELS S
    LEFT OUTER JOIN CM_SHIP_FINANCIALS F on S.FULLORDERNO = F.FULLORDERNO
    where S.FULLORDERNO = FULLORDERNO_IN;
    RETURN XML;
    END;
    The compile error is 'PLS-00306: wrong number or types of arguments in call to 'XMLAGG'.

    Here an answer from askTom:
    Hi Tom,
    I am not sure if I can ask this question in this thread or whether you are aware
    of the following problem (as you are very fond of SQL*plus... ;) ).
    I was happily usig toad 7.6 to work with oracle 9i. But now an upgrade to 10g
    has caused toad fail to connect. Error "OCI version 10.1.0.2.0 is not
    supported". But if I install 9i client and try to connect, then it works fine.
    Is there any workaround?
    Thanks and regards
    Praveen
    Followup:
    you'd have to ask the makers of toad if they have a 10g client version or not.
    Basically what is happening is that you have a 9i compiled piece of client
    software (toad).
    it uses, it depends on the 9i client software.
    in order to use the 10g client software -- you'd need a new binary from the
    makers of toad.
    SQLPlus would be the same -- the 9i sqlplus needs the 9i client, the 10g sqlplus
    needs the 10g client and so on.
    As it is -- you are OK right now, you have installed the software needed by toad
    and a 9i client connecting to a 10g database is "ok, supported and normal"

  • Help me conver following SQL server script in to Oracle Script

    could any one help me to conver following script in to oracle script
    Create Procedure Insert_profilebasicdetail
    @isubprofileid as int,
    @Copyisubprofileid as int,
    @itranno as int,
    As
    Begin
         Declare @IncKeyId as int
         Declare @tempkeyId as int
         set @IncKeyId=(select isNull(Max(ikeyId),0)as MaxKeyId from profilebasicdetail)
         Declare TempInsert cursor for select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
                   from profilebasicdetail where isubprofileid=@Copyisubprofileid and itranno=@itranno
         open TempInsert
         fetch from TempInsert into @tempkeyId
         while @@fetch_Status=0
         Begin
              set @IncKeyId = @IncKeyId + 1
              Insert into profilebasicdetail
              (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
              values(select @IncKeyId,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,'1',
                             iyear,@isubprofileid from profilebasicdetail where ikeyId=@tempkeyId)
         fetch next from TempInsert into @tempkeyId
         End
    End
    Regards,
    Ajay

    Thanks Pavan Kumar
    i m new in oracle i don't know anything.
    i run following script on TOAD 9.5 n it gives me error
    could u suggest me how can i run this script means directly on oracle 10g or on TOAD
    if u r at india then could u give me ur mobile number so i can explain my query u clearly.
    Create or Replace Procedure Insert_profilebasicdetail
    p_isubprofileid IN NUMBER,
    p_Copyisubprofileid IN NUMBER,
    p_itranno IN NUMBER,
    As
    v_IncKeyID NUMBER;
    v_tempkeyId NUMBER;
    CURSOR TempInsert IS
    SELECT ikeyid, iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
    FROM profilebasicdetail
    WHERE isubprofileid=p_Copyisubprofileid and itranno=p_itranno
    Begin
    SELECT MAX(NVL(iKeyID,0))
    INTO v_IncKeyID
    FROM profilebasicdetail;
    FOR r in TempInsert LOOP
    v_IncKeyID = v_InceyID + 1;
    Insert into profilebasicdetail
    (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
    values(select v_IncKeyId,r.iprofileid,r.iquestionid,r,vquestionans,
    r.cstatusindi,r.dmodifyon,r.imodifyby,'1',
    r.iyear,p_Copyisubprofileid
    from profilebasicdetail
    where ikeyId=r.ikeyId);
    END LOOP;
    EXCEPTION
    WHEN others THEN
    raise;
    End;
    Regards,
    Ajay

  • Procedure Problem ORA-20000 / ORA-20001

    Hello,
    I have problems with the following procedure - in both cases the problem seems to be in line 115 (RAISE;):
    CREATE OR REPLACE PROCEDURE EFWP."P_BUILD_VOP_ENVELOPE"(
    paramPlanungId LONG,
    paramEnvelopeWKTPolygon VARCHAR)
    AS
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    -- bereits bestehende alte Daten löschen
    DELETE
    FROM EFWP.TEFWP_VOP_PL T0
    WHERE T0.PLANUNG_ID = paramPlanungId;
    -- neue Daten erstellen
    INSERT
    INTO EFWP.TEFWP_VOP_PL
    WID_ID,
    OBJEKT,
    GEMOESTAT,
    WIDMUNG,
    STAND,
    EMASST,
    BESCHTXT,
    BEZEICHNG,
    FESTLEGUNG,
    FESTLEG02,
    ZAEHLER,
    ANZ_FRZTWS,
    ANZ_BETTEN,
    ANZ_RAEUME,
    FL_KUNDEN,
    FL_KUNDLM,
    BETRIEBTYP,
    SV_EBENE,
    SV_EBENENR,
    SV_KENN,
    BEFRISTUNG,
    CREATEUSER,
    CREATETIMESTAMP,
    UPDATEUSER,
    UPDATETIMESTAMP,
    EFWP_ID,
    STATUS,
    PLANUNG_ID,
    SHAPE,
    OBJECTID
    SELECT FW.WID_ID,
    FW.OBJEKT,
    FW.GEMOESTAT,
    FW.WIDMUNG,
    FW.STAND,
    FW.EMASST,
    FW.BESCHTXT,
    FW.BEZEICHNG,
    FW.FESTLEGUNG,
    FW.FESTLEG02,
    FW.ZAEHLER,
    FW.ANZ_FRZTWS,
    FW.ANZ_BETTEN,
    FW.ANZ_RAEUME,
    FW.FL_KUNDEN,
    FW.FL_KUNDLM,
    FW.BETRIEBTYP,
    FW.SV_EBENE,
    FW.SV_EBENENR,
    FW.SV_KENN,
    FW.BEFRISTUNG,
    FW.CREATEUSER,
    FW.CREATETIMESTAMP,
    FW.UPDATEUSER,
    FW.UPDATETIMESTAMP,
    FW.EFWP_ID,
    FW.STATUS,
    paramPlanungId,
    SDE.ST_DIFFERENCE (FW.SHAPE, PB.SHAPE),
    DBATOOLS.F_GET_NEXT_OBJECTID('EFWP', 'TEFWP_VOP_PL')
    FROM
    (SELECT T0.WID_ID,
    T0.OBJEKT,
    T0.GEMOESTAT,
    T0.WIDMUNG,
    T0.STAND,
    T0.EMASST,
    T0.BESCHTXT,
    T0.BEZEICHNG,
    T0.FESTLEGUNG,
    T0.FESTLEG02,
    T0.ZAEHLER,
    T0.ANZ_FRZTWS,
    T0.ANZ_BETTEN,
    T0.ANZ_RAEUME,
    T0.FL_KUNDEN,
    T0.FL_KUNDLM,
    T0.BETRIEBTYP,
    T0.SV_EBENE,
    T0.SV_EBENENR,
    T0.SV_KENN,
    T0.BEFRISTUNG,
    T0.CREATEUSER,
    T0.CREATETIMESTAMP,
    T0.UPDATEUSER,
    T0.UPDATETIMESTAMP,
    T0.EFWP_ID,
    T0.STATUS,
    SDE.ST_INTERSECTION(SDE.ST_POLYGON( paramEnvelopeWKTPolygon , DBATOOLS.F_GET_SRID('EFWP', 'TEFWP_PL')), T0.SHAPE) AS SHAPE
    FROM EFWP.TEFWP_PL T0
    WHERE T0.STATUS = '1'
    AND SDE.ST_INTERSECTS(T0.SHAPE, SDE.ST_POLYGON( paramEnvelopeWKTPolygon , DBATOOLS.F_GET_SRID('EFWP', 'TEFWP_PL'))) = 1
    ) FW,
    EFWP.TEFPBER_PL PB
    WHERE PB.PLANUNG_ID = paramPlanungId ;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    -- log_error( .... );
    RAISE;
    /* this is crucial, you MUST re-raise the exception */
    END;
    The problems:
    1. CALL EFWP.P_BUILD_VOP_ENVELOPE(629,'POLYGON ((84162.4 238985.685, 84162.4 239479.37, 84616.79999999999 239479.37, 84616.79999999999 238985.685, 84162.4 238985.685))'); ==>
    sqldeveloper: no problems
    toad:
    CALL EFWP.P_BUILD_VOP_ENVELOPE(629,'POLYGON ((84162.4 238985.685, 84162.4 239479.37, 84616.79999999999 239479.37, 84616.79999999999 238985.685, 84162.4 238985.685))')
    Error at line 1
    ORA-29903: Fehler bei der Ausführung von Routine ODCIIndexFetch()
    ORA-20001: OCI-21500: Interner Fehlercode, Argumente: [17112], [0x001DEF178], [], [], [], [], [], []
    ORA-06512: in "EFWP.P_BUILD_VOP_ENVELOPE", Zeile 115
    2. call efwp.p_build_vop_envelope (1006, 'POLYGON ((84890.215 238977.38, 84890.215 239301.585, 85119.685 239301.585, 85119.685 238977.38, 84890.215 238977.38))' ); ==>
    sqldeveloper:
    call efwp.p_build_vop_envelope (1006, 'POLYGON ((84890.215 238977.38, 84890.215 239301.585, 85119.685 239301.585, 85119.685 238977.38, 84890.215 238977.38))' )
    Fehlerbericht:
    SQL-Fehler: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Failed to get OCI Memory
    ORA-06512: in "EFWP.P_BUILD_VOP_ENVELOPE", Zeile 115
    29902. 00000 - "error in executing ODCIIndexStart() routine"
    *Cause:    The execution of ODCIIndexStart routine caused an error.
    *Action:   Examine the error messages produced by the indextype code and
    take appropriate action.
    Any ideas? Thanks for your help!
    Roland
    toad: no problems ("Method called.")

    The problems are likely related to using the LONG data type.
    Your code defines:
    paramPlanungId Long;.. and then uses it as a bind variable:
    WHERE T0.PLANUNG_ID = paramPlanungId;The LONG data type dates back to Oracle 7. Since Oracle 8, Oracle has specifically recommend NOT using it. In Oracle 11g, there is no relevant reasons to use it. Even legacy issues should have been addressed through versions 8 to 10g.
    As TOAD and SQL-Developer do not support LONGs as bind variables, and as you are supplying the value as a number, implicit number to long conversion is likely happening. This could be part of the issue that triggers the exception.
    Simple and recommended solution - remove the LONG data type from your tables and your code.

  • I Couldn't Figure it Out - ORA-12514

    I tried to connect to my local Oracle 10g DB via TOAD, i get this error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    What can i do?
    My host is localhost.

    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
    Action:
    - Wait a moment and try to connect a second time.
    - Check which services are currently known by the listener by executing: lsnrctl services <listener name>
    - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
    - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
    - Check for an event in the listener.log file.

  • Need guidance on Query for fine Tuning

    Hi ,
    Please help me on the below query while rewriting. Actually it is taking 2.56 sec to give 2.25 lacs records.
    I am trying to tune this query since 2 days,but not able to understand where to change & why it is taking that much time.
    Using : Oracle 10g version
    Tool : TOAD 8.6.1
    There are Indexes on every column used in Where clause but still some table scanning full.
    becoz of Inner Join it is taking much time, So Can anyone rewrite the below query for faster execution.
    SELECT workorder.fincode,
         workorder.istask,
         workorder.status,
    workorder.targstartdate,
         workorder.targcompdate,
         workorder.schedfinish,
    workorder.actfinish,
         workorder.estdur,
         workorder.wonum,
         workorder.mprn,
    workorder.sihousename AS wositehousename,
    workorder.sihouseno AS wositehouseno,
    workorder.sistreet AS wositestreet,
         workorder.sicounty AS wositecounty,
    workorder.siposttown AS wositeposttown,
    workorder.sipostcode AS wositepostcode,
         workorder.workorderid
    FROM (maximo.sr
    INNER JOIN
    (maximo.relatedrecord INNER JOIN maximo.workorder
    ON relatedrecord.relatedreckey =
    (CASE
    WHEN workorder.PARENT IS NOT NULL
    THEN workorder.PARENT
    ELSE workorder.wonum
    END
    AND relatedrecord.orgid = workorder.orgid
    AND relatedrecord.siteid = workorder.siteid
    AND relatedrecord.relatedrecclass = 'WORKORDER')
    ON sr.ticketid = relatedrecord.recordkey
    AND sr.orgid = relatedrecord.orgid
    AND sr.siteid = relatedrecord.siteid
    AND relatedrecord.CLASS = 'SR')
    LEFT JOIN
    frozen_quote@gqmfof
    ON sr.ticketid = customer_enquiry_ref AND sr.quotever = quote_version
    Explan Result:
    PLAN_TABLE_OUTPUT
    Plan hash value: 599875212
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Inst |IN-OUT|
    | 0 | SELECT STATEMENT | | 1569 | 272K| 3362 (1)| 00:00:41 | | |
    |* 1 | HASH JOIN | | 1569 | 272K| 3362 (1)| 00:00:41 | | |
    |* 2 | HASH JOIN RIGHT OUTER | | 1263 | 92199 | 417 (4)| 00:00:06 | | |
    | 3 | REMOTE | | 1 | 10 | 2 (0)| 00:00:01 | GQMFOF | R->S |
    | 4 | NESTED LOOPS | | 1263 | 79569 | 414 (3)| 00:00:05 | | |
    | 5 | MERGE JOIN CARTESIAN | | 3798 | 159K| 397 (3)| 00:00:05 | | |
    | 6 | VIEW | VW_NSO_1 | 1 | 14 | 3 (34)| 00:00:01 | | |
    | 7 | SORT UNIQUE | | 1 | 26 | 3 (34)| 00:00:01 | | |
    |* 8 | INDEX RANGE SCAN | SYNONYMDOM_NDX1 | 1 | 26 | 2 (0)| 00:00:01 | | |
    | 9 | BUFFER SORT | | 3798 | 107K| 397 (3)| 00:00:05 | | |
    |* 10 | TABLE ACCESS FULL | RELATEDRECORD | 3798 | 107K| 394 (3)| 00:00:05 | | |
    |* 11 | TABLE ACCESS BY INDEX ROWID| TICKET | 1 | 20 | 1 (0)| 00:00:01 | | |
    |* 12 | INDEX UNIQUE SCAN | TICKET_NDX1 | 1 | | 0 (0)| 00:00:01 | | |
    | 13 | TABLE ACCESS FULL | WORKORDER | 231K| 23M| 2943 (1)| 00:00:36 | | |
    Predicate Information (identified by operation id):
    1 - access("RELATEDRECORD"."RELATEDRECKEY"=CASE WHEN ("WORKORDER"."PARENT" IS NOT NULL) THEN
    "WORKORDER"."PARENT" ELSE "WORKORDER"."WONUM" END AND "RELATEDRECORD"."ORGID"="WORKORDER"."ORGID" AND
    "RELATEDRECORD"."SITEID"="WORKORDER"."SITEID")
    2 - access("TICKET"."QUOTEVER"="QUOTE_VERSION"(+) AND "TICKET"."TICKETID"="CUSTOMER_ENQUIRY_REF"(+))
    8 - access("DOMAINID"='TKCLASS' AND "MAXVALUE"='SR')
    10 - filter("RELATEDRECORD"."CLASS"='SR' AND "RELATEDRECORD"."RELATEDRECCLASS"='WORKORDER')
    11 - filter("TICKET"."ORGID"="RELATEDRECORD"."ORGID" AND "TICKET"."SITEID"="RELATEDRECORD"."SITEID")
    12 - access("CLASS"="$nso_col_1" AND "TICKET"."TICKETID"="RELATEDRECORD"."RECORDKEY")
    Regards,
    GR

    Add the NOCYCLE clause to your connect by statement CONNECT BY NOCYCLE PRIOR
    You also might want to add the organization ID into your join.

  • How to generate report using toad in oracle 10g

    hi ,
    i am using oracle 10g with toad editor .if i am execute any table, result it will be 100 rows like, i want to make report each records page wise with header,footer etc..
    please help..
    thank u..

    That is a Toad question isn't it, and Larry still didn't buy Quest, so you are at the wrong address.
    Go to http://www.questsoftware.com and find their forums.
    Thank you.
    Sybrand Bakker
    Senior Oracle DBA

  • Export import - using TOAD FOR ORACLE  and ORACLE DATABASE 10G EXPRESS or s

    Hi all,
    Could you please kindly help me?
    I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
    And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
    So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
    Thank you so much for your help!

    Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
    create or replace function  dump_csv( p_query     in varchar2,
                                          p_separator in varchar2 default ',',
                                          p_dir       in varchar2 ,
                                          p_filename  in varchar2 )
    return number
    is
        l_output        utl_file.file_type;
        l_theCursor     integer default dbms_sql.open_cursor;
        l_columnValue   varchar2(2000);
        l_status        integer;
        l_colCnt        number default 0;
        l_separator     varchar2(10) default '';
        l_cnt           number default 0;
    begin
        l_output := utl_file.fopen( p_dir, p_filename, 'w' );
        dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
        for i in 1 .. 255 loop
            begin
                dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
                l_colCnt := i;
            exception
                when others then
                    if ( sqlcode = -1007 ) then exit;
                    else
                        raise;
                    end if;
            end;
        end loop;
        dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
        l_status := dbms_sql.execute(l_theCursor);
        loop
            exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
            l_separator := '';
            for i in 1 .. l_colCnt loop
                dbms_sql.column_value( l_theCursor, i, l_columnValue );
                utl_file.put( l_output, l_separator || l_columnValue );
                l_separator := p_separator;
            end loop;
            utl_file.new_line( l_output );
            l_cnt := l_cnt+1;
        end loop;
        dbms_sql.close_cursor(l_theCursor);
        utl_file.fclose( l_output );
        return l_cnt;
    end dump_csv;
    /Here is the link to this thread in asktom.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059

Maybe you are looking for

  • Column link in interactive report to run procedure and refresh

    I have an interactive report which displays a report based on a table. This is a summary table populated overnight from some complex spatial analysis, which takes a few hours to run. I have a requirement to allow the user to refresh one row in this t

  • How to add a caption to photo in shared photo stream?

    Hi @all, I hope I am not right but there is no option of using the description/caption for a photo in my iPhoto library when I share it with other people in a photo stream? All I found was that you can use the comment field to add a caption-like text

  • Can the Icon be disposed safely after a call to Imaging.CreateBitmapSourceFromHIcon?

    Hi all, for a Grid that shows file paths and the associated file icon for a set of given files we extract the Icon of those files and create ImageSource instances for later use. Roughly: FileIcons aIcon = new FileIcons(filePath); System.Drawing.Icon

  • Image Resizing With A Catch

    So I'm running ColdFusion on GoDaddy Linux Hosting (booo, I know, but it's cheap and I'm a poor college student that likes to have lots of domains). My old host I was using allowed me to use nifty components I downloaded to resize images, but had som

  • Specifying custom fonts in captions

    In the fonts.ini file in the gallery\captions folder, you can modify the default font use in a caption. The problem is that I can't seem to to use any font with a space in its name. For example, single words like Arial, Times, Verdana, Trebuchet, and