Child1


Hi all

by executing this query, it takes a few seconds I want to optimize the query
pls help.

(SELECT tr. TRAN_BRN_CODE TranBrnCode,
Tr. TRAN_DATE_OF_TRAN TransactionDate,
FACNO (1, tr. TRAN_INTERNAL_ACNUM account number).
(SELECT A.ACNTS_CLIENT_NUM
OF ACNTS HAS
WHERE A.ACNTS_INTERNAL_ACNUM = B. ClientNumber TRAN_INTERNAL_ACNUM),
(SELECT A.ACNTS_AC_NAME1
OF ACNTS HAS
WHERE A.ACNTS_INTERNAL_ACNUM = B. AccholderName TRAN_INTERNAL_ACNUM),
TR. TRAN_DB_CR_FLG,
TR.tran_batch_number BatchNumber,
Tr. TRAN_CURR_CODE TransactionCurrCode,
Tr. TRAN_AMOUNT TransactionAmount,
TR.tran_base_curr_eq_amt TranBaseCurrAmount,
around the (((b. TRAN_AMOUNT * 0,15) / 100), 2) Excise_Duty_Amount.
"TRAED | TO_CHAR (TR. TRAN_DATE_OF_TRAN, "DD/MM/YYYY"). TR.tran_narr_dtl1 | TR.tran_narr_dtl2 "TransactionNarration".
OF TRAN2013 TR
WHERE TR. TRAN_ENTITY_NUM = 1
AND TR. TRAN_DB_CR_FLG = A '
AND tr. TRAN_INTERNAL_ACNUM <>0
AND tr. TRAN_BASE_CURR_EQ_AMT > 30000
AND tr. TRAN_DATE_OF_TRAN > =' 2 January 2013'
AND tr. TRAN_DATE_OF_TRAN < = ' 2 January 2013'
AND TR. TRAN_CODE IN ('TD', 'TDB', "FPC", "TDR")
AND TR. TRAN_PROD_CODE IN (2011,2012, 2021,2022)
AND TR. TRAN_SYSTEM_POSTED_TRAN = 0
)
UNION ALL
(
SELECT TR. TRAN_BRN_CODE,
TR. TRAN_DATE_OF_TRAN,
FACNO (1, tr. TRAN_INTERNAL_ACNUM account number).
(SELECT A.ACNTS_CLIENT_NUM
OF ACNTS HAS
WHERE A.ACNTS_INTERNAL_ACNUM = B. ClientNumber TRAN_INTERNAL_ACNUM),
(SELECT A.ACNTS_AC_NAME1
OF ACNTS HAS
WHERE A.ACNTS_INTERNAL_ACNUM = B. AccholderName TRAN_INTERNAL_ACNUM),
TR. TRAN_DB_CR_FLG,
TR.tran_batch_number BatchNumber,
TR. TRAN_CURR_CODE,
TR. TRAN_AMOUNT,
TR.tran_base_curr_eq_amt,
around the (((b. TRAN_AMOUNT * 0,15) / 100), 2) Excise_Duty_Amount.
"TRAED | TO_CHAR (TR. TRAN_DATE_OF_TRAN, "DD/MM/YYYY"). TR.tran_narr_dtl1 | TR.tran_narr_dtl2 "TransactionNarration".
OF TRAN2013 TR
WHERE TR. TRAN_ENTITY_NUM = 1
AND TR. TRAN_DB_CR_FLG = A '
AND tr. TRAN_INTERNAL_ACNUM <>0
AND tr. TRAN_BASE_CURR_EQ_AMT > 30000
AND tr. TRAN_DATE_OF_TRAN > = ' 2 January 2013'
AND tr. TRAN_DATE_OF_TRAN < = ' 2 January 2013'
AND TR. TRAN_CODE = '914'
AND TR. TRAN_PROD_CODE IN (2011,2012, 2021,2022)
AND TR. TRAN_SYSTEM_POSTED_TRAN = 1)
ORDER OF 1.8

As I have already said in your other two post, please read Re: 3. how to improve the performance of my query? / my query is slow.

Tags: Database

Similar Questions

  • My dissappered Favorites toolbar on the top of my computer, how do I get it back, Child1

    you know how you like a page, such as youtube or Netflix, do add you to favoirtes? Well, the bar Favorites on top of my computer Dissappeared, how can I get that back at the top where it should be, lost without her?

    Right-click on an empty spot in the toolbar and make sure that the bookmarks bar.
     
    The IE Forums can be found here.
    http://answers.Microsoft.com/en-us/IE 
     
  • computer my computer crashed with cs + 6.ihave new a new laptop and I want to reinstall cs 6. 1Have numberr srial of the program which was probably a level but need Child1

    need help to install cs6 wa

    s an upgrade is possible to get a live person at adobe

    contact adobe by clicking on the 'still need help' support as soon as available, https://helpx.adobe.com/contact.html

  • built in internal microphone and meter does not

    I have a 27 2011 IMAC; OS X Version of EL Capitan 10.11.3; 2.7 Ghz IntelCore i5 processor; 16 GB 1333 Mhz DDR3 memory

    When you try to talk (dictate) my computer or use audio/video applications for phone calls, and/or videos of shooting, I can't be heard by the person, I speak with.  I am able to hear and see the person with whom I try to talk.  Then I checked the system preferences > Sound > built into the internal Microphone > settings and discovered the Microphone does not work. The level of input volume indicator does not either.  I don't know if it is a hardware or software problem.  Please Child1

    Try a hardware Test: using Apple Hardware Test - Apple Support

    (I don't know if the microphone is tested during the test)

    See also: https://www.onlinemictest.com/microphone-settings/mac-os-x

  • How to convert java ' instanceof' to Labview?

    Dear Sir

    I would use a comparison function that is 'instanceof' in java, but I don't know how to get a similar function in labview OOP (I know normal type, but for the classes that I don't know). In my project, I have 2 classes, one is the parent (Parent) class and the other is the class of the child (child) which extends the class parent. I would like to convert this java code in labview:

    Parent p1 = new Parent();
    if  (child instanceof p1)
    do something;

    Thank you

    mnemo15

    If you want to only check, you can use CFRP, but if you also want to use screws of child1, you need to use TMSC.

  • Update keeps trying to install updates and does not have service pack 3 XP

    I had to reinstall Visual Studio 2005 and now the KB2584146, KB2598479, KB2603381, KB2631813, KB2646524 keep wanting to install and maintain otherwise. I tried to fix it and he repeats to me he needs repair installation and and the same thing again and again and it seems he's trying to install stuff for Server 2003 and it is not correct for my XP pro with service pack 3. Child1!

    Looks like you may have hidden a (security) update to SQL Server or one may have been 'stuck' in the queue of the update. Here again, she may have been related to http://support.microsoft.com/kb/968749.

    In any case, I suspect that MS support have been able to discover this, too - you had opened a free support incident.

    Once again, good luck with the 14 Feb-12 updates.

    ==========================================================
    WARNING: MS MVPS represent or work for Microsoft

  • I can't uninstall mse, I get a message saying that I need epp.msi

    I tried to uninstall the upgrade and all I get is epp.msi is not installed. Child1

    See this article for instructions about uninstalling MSE: http://support.microsoft.com/kb/2483120

    If you want to reinstall MSE, you can do it from here.

    I hope this helps...

  • My OS(C:) ne me laisse pas accéder à tout l'espace à ce sujet.) drive

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: It shows only 2.36 GB represented in memory, the disc shows he has 58.5 GB of usable space, but only 33.5 GB of free space so lets the other 25 GB of?

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    There are a number of potentially important files which could be the use of disk space:

    Hibernation file - will be equal to the amount of installed memory
    Virtual memory file (pagefile or swapfile) - can be very large
    Many different types of files hidden as the restoration of the system, the Windows Update/Microsoft Update, etc.

    'happy to Child1' wrote in the new message: * e-mail address is removed from the privacy... *

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: It shows only 2.36 GB represented in memory, the disc shows he has 58.5 GB of usable space, but only 33.5 GB of free space so lets the other 25 GB of?

    * You have problems with programs
    * Error messages
    * These recent changes made to your computer
    * What have you tried to solve the problem

  • HP psc 2210 Align cartridges error code

    Replace cartridge HP56 with HP on my HP psc 2210 printer. It keeps flashing "align cardtridges. Even though I've lined up the catridegs now 10 times, the printer will not allow another function. Child1

    http://welcome.HP.com/country/us/en/contact_us.html

    Contact HP directly on the link above.

    http://welcome.HP.com/country/us/en/contact_us.html

    Alternatively, try the Support Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • Many blackBerry Smartphones Block applications

    Users of B-Berry good day. IM new to the boards, so forgive me if this has already been asked.

    I heard from several sources reliable semi, according to the handset, some applications block numbers are available. Is it true, as I am in desperate need of some protection against unwanted calls. Thanks for all Child1!

    look at iCallManager and BlackandWhiteList

  • VPN appears briefly, then goes down

    Hello

    I test on VPN with my Cisco 1801 router that uses an on FA1 ADSL modem to connect to Internet. This port is assigned to 80 of VLAN.

    I have configured the modem to forward all ports to the Cisco and the Cisco is connected to the rest of my LAN on FA2

    Whenever I try to use my Android phone to connect to the VPN, it tries for a while then just goes back to the disconnected state.

    The phone works with other VPN services, I've tried.

    I use the same references that I use to connect to the router, but have also tried the chap credentials defined in the virtual model.

    When I turn on debugging events VPN, I get the following result, which seems to show that the connection comes up

    VPDN Received L2TUN socket message

    VPDN uid:2 L2TUN socket session accept requested

    VPDN uid:2 Setting up dataplane for L2-L2, no idb

    VPDN Received L2TUN socket message

    VPDN uid:2 VPDN session up

    VPDN uid:2 disconnect (AAA) IETF: 17/user-error Ascend: 26/PPP CHAP Fail

    VPDN uid:2 vpdn shutdown session, result=2, error=6, vendor_err=0, syslog_error_code=8, syslog_key_type=1

    VPDN Received L2TUN socket message

    Here is the frame configuration that I use...

    vpdn enable

    !

    vpdn-group homevpn

    ! Default PPTP VPDN group

    accept-dialin

    protocol pptp

    virtual-template 1

    l2tp tunnel timeout no-session 15

    !

    interface Virtual-Template1

    ip unnumbered FastEthernet1

    ip nat inside

    ip virtual-reassembly in

    peer default ip address pool VPN-pool

    no keepalive

    ppp encrypt mppe auto passive

    ppp authentication chap eap ms-chap ms-chap-v2 pap

    ppp chap hostname vpntest

    ppp chap password 7 ****

    !

    ip local pool VPN-pool 192.168.1.10 192.168.1.15

    Thanks for all Child1

    The reason is that, with CHAP, the router receives a response that is based on the hash of the password. To validate the fact that, the router requires the password in clear text and can not use one is configured with "... secret user name.

    Another option is to authenticate with PAP, where you can store users with hashed passwords. Simply choose whether you want passwords in clear text in transit (PAP) or on the router (CHAP).

    --
    Don't stop once you have upgraded your network! Improve the world by lending money to low-income workers:
    http://www.Kiva.org/invitedBy/karsteni

  • HFM SmartView Bug? HsGetValue retrieves the data for non-existent entity node.

    Hi guys,.

    We are facing a problem of SmartView 11.1.2.5.520 in combination with HFM 11.1.2.4.103. I would like to know if you can reproduce it.

    Assume it's our hierarchy of entity:

    Parent1 (EUR)

    Child1 (USD)

    Child2

    Child3

    Parent2 (GBP)

    Child4

    Children5

    We want to extract the data via "HsGetValue" for in < currency Parent > Child1, so need to entity to return node information: "Parent1.Child1." Works very well.

    Strangely enough, that's good, that the Parent2.Child1 data retrieves, although node do not exist!

    If you try it with ad hoc, an error message appears saying "Member does not exist", which is correct.

    Can someone check the BUG? If so, I'll open a SR.

    Thanks in advance!

    Carmonte

    Thank you guys! You responses helped me to understand that he is not really a bug.

    • HsGetValue retrieves a nonexistent node of to data from first available parent in the hierarchy.
    • Top of to HsGetValue retrieves no data. What is good.

    Knowing that, I can live with that.

    Thank you!

    Carmonte

  • The label only on the form with FALSE IMPLIED_SHARE [APP]

    Hello guys!

    I am struggling with this and I think I'm missing something and I need help please.

    I've got following members:

    Parent1 (label only)

    Child1 (Store) (+)

    Child2 (Store) (+)

    Child3 (Store) (+)


    I have on my essbase.cfg IMPLIED_SHARE APP1 FAKE and I stopped/started essbase server and application.


    On my data form I rank IDESCENDANTS (Parent1). My problem is that with this setup I am not able to write about the first child in the dataform.


    If I put only the descendants of Parent1 I am able to enter data on the first member.


    Is there a way to have my parents like label only, on the form and still be able to enter data on the first child?  Am I missing something?


    Thank you guys.

    Kind regards

    Eduardo Almeida



    Here is an example:

    If you change the setting IMPLIED_SHARE you need to follow the steps at IMPLIED_SHARE

    Also worth reading through of ' implicit Essbase understanding actions and their effect on the design of form data planning (Doc ID 763285.1).

    See you soon

    John

  • Copy data from Parent to child with a ruler or a Script


    Considering a hierarchy of simple size like this:

    DimensionX

    Parent1

    Child1

    Parent2

    Child2

    Parent3

    Child3

    etc...

    How to code a business rule or calculation script to copy the data stored at the level of the parents to their children? Each parent has only one child, and the size in this example is rare.

    Well, if you don't explicitly mark up the parent as "Never share" or a set configuration IMPLIED_SHARE setting then these members will automatically be 'implicit actions' containing the same data even when (because there is only one child) - see the setting Dimension and member properties.

    Alternatively, you can write a calc script that fixed on level 0 members of this dimension (or any subset of the members of the level 0 you want) and then use a formula that does something like this:

    @CURRMBR ("DimensionX") = @PARENTVAL ("DimensionX");

    Because it is rare, peut run you in the creation of block issues, according to what blocks you know already exists.

  • Reg: Repeat the node target in XSL (repeated Source No node)

    Hi all

    We have a BPEL implementation in 11g where we need to repeat the target node based on the value of the field from the source node that are not repetitive. In general, we use the for each function to create as many copies of the target based on the repetition of source node node, but in this case does not repeat the source node.

    The snapshot of the same thing is as follows,

    Source:

    < source >

    < parent >

    < Child1 > A < / Child1 >

    < Child2 > 1 < / Child2 >

    < / parent >

    < / source >

    Target:

    < target >

    payload of <>

    < RepeatNode > is < / RepeatNode >

    < RepeatNode > 1 < / RepeatNode >

    < / payload >

    < / target >

    In the case above, if the child1 and child2 values respectively 'A' & '1', then we have need to fill the 'RepeatNode' by duplication/repeating node. If the values of the child nodes source does not meet the condition we must not. Please suggest how this can be solutioned.

    Cloning of the for each solved this problem.

Maybe you are looking for