How this code would work?

Hello

I have this code in a form and it works correctly, I do not know how? because I tried after you modify, delete the quotation marks and parentheses, it does not.

SET_BLOCK_PROPERTY (NVL ' of the 'TTO_TICKETTRAVELORDERDETAILS, DEFAULT_WHERE,' (STATUS, "$$ # & & & &") = NVL ("' |: CONTROL.)) STATUS | " (', NVL (STATUS, "$$ # & & & &"))

AND IS_TOUR = "N"

AND EXISTS (SELECT "X"

OF TTO_ORDERDETAILSROUTES T

WHERE T.ORDERDETAILID = TTO_TICKETTRAVELORDERDETAILS. ORDERDETAILID

AND NVL(CARRIER,''$$##'') = NVL ("' |: CONTROL.) CARRIER: "', NVL(CARRIER,''$$##''))

AND NVL (CLASS, "$$ & &") = NVL ("' |: CONTROL.) CLASS | " ((', NVL (CLASS, "$$ & &")))

AND EXISTS (SELECT "X"

OF TTO_TICKETTRAVELORDERHEADER H

WHERE H.ORDERID = TTO_TICKETTRAVELORDERDETAILS. ORDERID

AND STATUS = "Post")

AND EXISTS (SELECT "X"

OF TTO_TICKETTRAVELORDERHEADER H

WHERE H.ORDERID = TTO_TICKETTRAVELORDERDETAILS. ORDERID

AND TO_CHAR(ORDERDATE,''DD-MM-YYYY'') BETWEEN NVL ("' |: CONTROL.) FROM_DATE | " (', ORDERDATE) AND NVL ("' |: CONTROL.) TO_DATE | " (', ORDERDATE)

AND NVL(H.CUSTOMER_NO,''$$##@@@'') = NVL ("' |: CONTROL.) CUSTOMER_NO: "', NVL(H.CUSTOMER_NO,''$$##@@@'')))');

After editing it and try in the pl/sql developer, he could not identify the TTO_TICKETTRAVELORDERDETAILS. ORDERID

and TTO_TICKETTRAVELORDERDETAILS. ORDERDETAILID

in the condition "Exists".

SELECT

t.*,

t.ROWID

Of

TTO_TICKETTRAVELORDERDETAILS t

WHERE

NVL (STATUS,' $$ # & & & &') = NVL (", NVL (STATUS,' $$ # & & & &'))

AND IS_TOUR = N

AND THERE ARE

(

SELECT

« X »

Of

TTO_ORDERDETAILSROUTES T

WHERE

T.ORDERDETAILID = TTO_TICKETTRAVELORDERDETAILS. ORDERID

AND NVL(CARRIER,'$$##') = NVL (", NVL(CARRIER,'$$##'))

AND NVL (CLASS,' $$ & &') = NVL (", NVL (CLASS,' $$ & &'))

)

AND THERE ARE

(

SELECT

« X »

Of

TTO_TICKETTRAVELORDERHEADER H

WHERE

H.ORDERID = TTO_TICKETTRAVELORDERDETAILS. ORDERID

AND STATE = 'Post'

)

AND THERE ARE

(

SELECT

« X »

Of

TTO_TICKETTRAVELORDERHEADER H

WHERE

H.ORDERID = T.TTO_TICKETTRAVELORDERDETAILS. ORDERID

AND ORDERDATE BETWEEN NVL('',ORDERDATE) AND NVL('',ORDERDATE)

AND NVL(H.CUSTOMER_NO,'$$##@@@') = NVL (", NVL(H.CUSTOMER_NO,'$$##@@@')));

Why?

If you do not give the table in the outer query an alias then you reference with the full name.

3. ??

Tags: Oracle Development

Similar Questions

  • How this code deletes the record from the database company?

    Hello, I'm at the beginner level and I would like to learn more about this code of a book. I have several questions below, I hope I can get any help
    Thank you

    · How this code deletes the record from the database company?
    · Where is the connection to the db?

    · What part or command is that deletes the record?
    · What does that mean?
    < link rel = "stylesheet" href = "styles.css" >

    < html >
    < head >
    < /title > < title > test code
    < link rel = "stylesheet" href = "styles.css" >
    < / head >

    < body >

    < h1 > delete a record from the company < / h1 >

    < table >
    < action = "CompanyDeleteForm.cfm cfform" method = "POST" > "
    < b >
    < td > < table > C_ID
    < td >
    < cfinput type = "Text".
    name = "C_ID".
    message = 'Please enter the C_ID '.
    validate = "integer".
    required = "Yes".
    size = "22".
    MaxLength = "20" >
    < table >
    < /tr >
    < b >
    < td > < table >
    < td >
    < input type = "submit" value = "Delete a rec of the company" >
    < table >
    < /tr >
    < / cfform >
    < /table >

    < / body >
    < / html >
    -----------------------------------------------

    This isn't. He sends the value of C_ID in a form variable to an action (CompanyDeleteForm.cfm) page that would delete code.

    Phil

  • Trying to get this code to work

    So, I'm doing of smoke and I love the looks in a way I found online. However, I guess it was made in an earlier version and a part of the code is no longer supported with the version that I use with CS3 is.

    I hope this is the right forum for this.  If this isn't the case, please redirect me.  Any help getting this thing woring would be much appreciated.  The code is from this site:

    http://www.pixelhivedesign.com/tutorials/realistic+Flash+smoke+effect/

    He creates a music video called aPuff and gives then the movieclip an aPuff identifier as well.  It seems that identifiers are no longer used in CS3.

    // ------------------------------------------------

    Realistic smoke effect - www.pixelhivedesign.com

    // ------------------------------------------------

    fadeSpeed = 1;    / / Smoke fade speed.

    floatUpSpeed = 2; / / Smoke float speed.

    Each base come settle a cloud of smoke.

    ce . onEnterFrame = function() { }

    / / Get the next available depth.

    d = ce. getNextHighestDepth ();

    / / Join a cloud of smoke.

    aPuff = attachMovie()"aPuff","aPuff"+ d, d();

    / / Set the initial scale to 10%.

    aPuff. _xscale = aPuff. _yscale = 10;

    / / Put puff where is the mouse. (Add little random)

    aPuff. _x = Math. randomly () * 5;

    / / Makes random animation departure for realism.

    aPuff. gotoAndPlay (Math. tour (Math. randomly ()*20));

    / / Smoke will animate every frame.

    aPuff. onEnterFrame = function() { }

    / / Scale cigarette smoke

    this. _xscale is this. _yscale += fadeSpeed;

    / / Stale smoke.

    this. _alpha = fadeSpeed;

    / / Smoke floating upward

    this. FLF = floatUpSpeed;

    / / When the smoke is 100% scale, remove him

    if (this. ( _xscale > = 100) { }

    this. removeMovieClip ();

    }

    }

    }

    When I run the present in CS3, I get a list of errors. I am super new ActionScript.

    Thanks again.

    Wrong forum.  In other words not code AS2, AS3 (CS3 can work with).  Since you say you found a lot of mistakes, you probably have settings in the publication file configured for AS3.  If you change to AS2 code might work.

  • This SSD would work in my laptop?

    I plan to upgrade my laptop (DM4-1160US) with an SSD, a samsung 840 evo (250 GB) would be compatible with the laptop? If it doesn't work, can you please recommend me one that would be compatible.

    That's exactly the one to get. This is what I have in my own laptop (but the 512 GB version for me).

  • This code snippet works partially...

    I have this little snippet that is supposed to cut the search and return a message who found him too many records to continue and Please refine your search:

    <? PHP if ($totalRows_search = ' > 15') echo "more than 15 cases were found;" more information, please indicate in the search fields to reduce this list '; die?; >

    It works fine when the search finds more than 15, but it also works when there is not that many possible records to find in the search. It appears on every search.   What I'm doing wrong with that?

    Thank you.

    Brian

    It should be this:

     if ($totalRows_search > 15)
    
  • This card would work in my X 51? (link and specifications in the comments)

    I was wondering if my alienware x 51 gtx555 i7 would go well with the ti of gtx660 EVGA.

    Yes your system will work the 660ti very well.

    You got to get the fan fan style (like the one on the picture)

  • How this code more effectively?

    So what I'm trying to do, it's 'decode' variables that contain values of a slider in my procuedure. If my proc looks like this now...

    I use Oracle 10.2 G
    Cursor xData_Cursor is...
    (code here)
    
    begin
    For xData_Cursor_r in xData_Cursor
    
    vID := xData_Cursor_r.id
    vNum := xData_Cursor_r.num
    etc...
    
    if vID is null then
    vID := 'null';
    end if;
    
    if vNum  is null then
    vNum := 'null';
    end if;
    
    output variables here...
    
    end
    My question is there a way to more effective to my if / end of the blocks? Which means, can I do anything other than make a bunch of if / end of blocks for each variable? It just seems like there is a more efficient method will in this regard.

    Well, if that's what you really want to, you can always use the nvl function in PL/SQL. i.e.

    vID := nvl(xData_Cursor_r.id,'null');
    vNum := nvl(xData_Cursor_r.num,'null');
    

    Kind regards
    Bob

  • F3F04AA: This GPU would work for my diet?

    I think to upgrade my gpu to the EVGA GTX 750 Ti Super clocked because it does not require a 6-pin, but I don't know if it'll work for the HP pc which I bought last year December. Power said that @50 ° C its 260W, but the minimum for the card is 300W. Another question I have is, I can improve my diet as well in the future.

    GPU: http: / /www.newegg.com/Product/Product.aspx?Item=N82E16814487024&cm_re=gtx_750-_-14-487-024-_-Product

    Power supply: http://i.imgur.com/PyI0Du2.jpg

    Thanks, in advance.

    Hello

    The following link shows the specifications of your computer:

    http://support.HP.com/GB-en/document/c04324956

    It has:

    • Expansion slots:

  • Can someone help me to crack this code

    Hello

    I'm working on a few different scripts to complete the banners... Recently, I came across this one and I do not understand cant someone expian for me...

    Basically, the banner is on the maintimeline and the code is as follows in each of these images:

    Section 1:

    var maxPlays:Number = 4;

    If (timesPlayed == undefined) {}

    var timesPlayed:Number = 3;

    Section 45: (where the movie finally stop playing for good:)

    If {(stopEarly)

    stop();

    }

    Frame 80: last image of the timeline:

    If (timesPlayed < maxPlays) {}

    timesPlayed ++;

    gotoAndPlay (1);

    } else {}

    stopEarly = true;

    gotoAndPlay (1);

    }

    Some of my random Questions are:

    If the loops of film 3 times, why this var maxPlays = 4

    also, in the last line of code on frame 80 - gotoAndPlay (1); -If it stops at this place of stopEarly, why is this line? It seems to work without it as well, but I'm curoius why it's here.

    Anyhelp tellimh me how this code is greatly appreciated!

    Thank you

    Babs

    There must be a two other lines on frame 1:

    var timesPlayed;

    var stopEarly;

    Or the code would not work.

    Seems sort of hackey, but I'll walk through you it:

    Framework 1, play 1:

    timesPlayed is not defined, so it gets the value 3.

    45 1 frame game:

    stopEarly is not defined, which is false, then the read head keeps going.

    80 1 frame game:

    3 is less than 4, so timesPlayed gets incremented to 4 and at the playhead is moved to frame 1.

    Frame 1 exhibit 2:

    nothing happens (it is not indefinite of timesPlayed).

    45 2 frame game:

    stopEarly is not defined, which is false, then the read head keeps going.

    80 2 frame game:

    4 is not less than 4 stopEarly Yes Gets the true value and the playhead is moved to frame 1.

    Frame 1 Exhibit 3:

    nothing happens (it is not indefinite of timesPlayed).

    45 3 frame game:

    stopEarly is true, then the read head is stopped.

    To make the code more understandable, timesPlayed should be set to 1 instead of 3 if it is not set, this way maxPlays will actually represent the maximum number of full game-through.

  • Portege R600-140: message says: device would work better with USB 2.0

    R600-140 win 7 prof
    I plug in a device of capture usb video and a popup appears saying (roughly)

    + This device would work better with USB 2.0 - Click here for a list of usb ports.

    I thought all the usb ports 2.
    I just checked the drivers in the Panel, and I thought they are all up to date.

    The laptop supports without a doubt USB 2.0 ports.
    I guess that this message can appear for many reasons: for example the USB device malfunction.
    Also the problem of USB port could be responsible for such error.

    So as the first workaround I recommend you remove the USB hubs and controllers in the Device Manager list.
    Open the Device Manager, look for the controllers and USB hubs and uninstall the driver.
    Reboot the laptop

    Usually the system will begin to recognize USB devices.

    Note: during this procedure, all external USB devices must be disconencted

  • software that would work Windows media player.to stop an error reacurring.ie cannot read the file the player does not support the file ect

    • If we had a software incorporated into our windows media player that could convert all formats in SGF format which media player works with.and would give the correct codec, seeking a new kind of film because we wouldn't not error of windows media player cannot play the file the player might not support the file type or is unable to support the codec used to compress the file.i know it y has many converters of FOSS by there .but why is it not incorporated into the windows media player 11 to make it the best player support ever.you must know of software that will do all this .and would work with media player 11. Please if you know an update that would do this please please write me on * address email is removed from the privacy * waiting for your reply thank you

    Hi bbdunford,

    There is nothing of MS that does this, but this codec pack will work just fine: http://download.cnet.com/Media-Player-Codec-Pack/3000-13632_4-10749065.html?tag=mncol

  • This card will work?

    I was thinking about an update on my HP G5120uk desktop PC. And I was wondering if this card would work on my computer?

    The map I was looking at was a

    ASUS GeForce GTX 560 810 MHz 1 GB DirectCU PCI-Express HDMI

    Hello

    I am pleased that you measured for this card. I hope that the radiator of the map is low enough for the card to fit.

    Try the Corsair CX500.

  • Adobe Creative Cloud is full of photos would like to delete, but this does not work, how can I do?  Wim

    Hoi

    Adobe Creative Cloud is full of photos would like to delete, but this does not work, how can I do?

    Thanks Wim

    Move this thread for: Adobe Creative Cloud

  • How to optimize the performance of this code?

    I have two clips on a flash project. One of them is fixed and the other can be moved with the arrow keys of the keyboard. The two clips have irregular shapes, so HitTestObject and HitTestPoint does not work very well. I have a function that detects the collision of two clips using bitmap. I wanted to update the position of the Movie clip mobile so I put the function of collision detection under the ENTER_FRAME event listener code. It works fine, but when I add many fixed film clips (about 10 clips fixed in an image), the game (.swf file) becomes slower and slows down the performance of the PC. I thought that my collision detection function has a negative effect on the performance of the PC, so I used the class on this page: https://forums.adobe.com/thread/873737
    but the same thing happens.

    You told me how to do to speed up execution of my codes?

    Here's the part of my code:

    stage.addEventListener (Event.ENTER_FRAME, myOnEnterFrame);

    function myOnEnterFrame(event:Event):void

    {

    If (doThisFn) / / doThisFn is a variable to allow or prevent the kind of mobile film clip moved with arrow keys

    {

    If (left & &! right) {}

    Player.x = speed;

    Player.rotation = player.rotation - speed;

    }

    If (right & &! left) {}

    Player.x += speed;

    Player.rotation = player.rotation + speed;

    }

    If (up & &! down) {}

    Player.y = speed;

    }

    If (down & &! up) {}

    Player.y += speed;

    }

    The clips of film sets are wall1, wall2, wall3, wall4,... and so on
    the following code checks to see how many walls exist on each image and pushes them in table wallA

    for (var i: int = 0; i < 1000; i ++) / / you can put up to 1000 object of wall in the table wallA

    {

    If (this ['wall' + i]) / / if the wall object exists, push it into the table wallA

    {

    wallA.push (this, ['wall' + i]);

    }

    }

    for (i = 0; i < wallA.length; i ++)

    {

    If ( h.hitF (player, wallA [i]) | gameOverTest) / / this code checks whether or not the player (the mobile clip) hit the walls

    {

    trace ("second try");

    gameOver.visible = true;

    doThisFn = false;

    }

    }

    I think the following codes are easy to turn and run. I think that the performance problem is due to previous codes.


    If (player.hitTestObject (door))

    {

    Win.Visible = true;

    doThisFn = false;

    }

    If (key) / / if there is a key on chassis

    {

    If (player.hitTestObject (key))

    {

    Key.Visible = false;

    switch (currentFrame)

    {

    case 4:

    wallA [0] .visible = false;

    .x wallA [0] = 50000;

    break;

    case 5:

    wall14. Play();

    wall8.x = 430;

    break;

    }

    }

    }

    }

    }

    It's a simple question that doesn't usually have a simple answer.

    Here is an excerpt of a book (Flash game development: in a Social, Mobile and 3D world) I wrote.

    Optimization techniques

    Unfortunately, I don't know any way completely satisfactory to organize this information. In what follows, I discuss memory management first with sub-themes listed in alphabetical order. Then I discuss the management of CPU/GPU with subheadings listed in alphabetical order.

    This may sound logical, but at least, there are two problems with this organization.

    1. I don't think it's the most useful way to organize this information.

    2. memory management affects the CPU/GPU use, so that everything in the section of memory management can also be listed in the section CPU/GPU.

    In any case, I'll also list information in two other ways, from the easiest to the most difficult to implement and more for much less.

    Two of these later inscriptions are subjective and dependent on experience developer and capabilities, as well as environmental test and the test situation. I very much doubt there would be a consensus on the order of these lists.  However, I think that they are still valid.

    Easier to the more difficult to implement

    1. do not use the filters.

    2. always use the reverse for loops and avoid loops and avoid while loops.

    3. explicitly stop timers for their loan for gc (garbage collection).

    4. use the weak event listeners and remove headphones.

    5. strictly type variable when possible.

    6. explicitly disable interactivity mouse when interactivity smile not necessary.

    7. replace dispatchEvents with callback functions whenever possible.

    8 it would be gc stop sounds for the sounds and SoundChannels.

    9. use the DisplayObject most basic need.

    10. always use cacheAsBitmap and cacheAsBitmapMatrix with air applications (i.e., mobile).

    11. reuse of objects when possible.

    12 Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.

    13. the pool instead of creating objects and gc objects ' ing.

    14. use partial blitting.

    15. use step blitting.

    16 use Stage3D

    Biggest advantage less

    1. Use the blitting Stadium (if there is enough memory system).
    2. Use Stage3D.
    3. Use partial blitting.
    4. Use cacheAsBitmap and cacheAsBitmapMatrix with mobile devices.
    5. Disable explicitly interactivity mouse when interactivity smile not necessary.
    6. Do not use filters.
    7. Use the most basic necessary DisplayObject.
    8. Reuse objects whenever possible.
    9. Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.
    10. Use reverse for loops and avoid the do loops and while loops.
    11. The pool instead of creating objects and gc'ing.
    12. Strictly, type variable when possible.
    13. Use weak event listeners and remove headphones.
    14. Replace dispatchEvents by the callback functions whenever possible.
    15. Explicitly stop timers on loan for the gc.

    16 stop sounds for the sounds and SoundChannels be gc would be.

  • &amp; quot; This change would require an amendment to the code that is locked by a model or a translator. &amp; quot;

    I'm creating a template. As I go along, I test by creating, editing and saving pages made of him.

    All of a sudden, I started getting this error when I try to apply a CSS style for the editable region of content.

    "This change would require changing the code that is locked by a translator or a model."

    This will not occur when you change the other editable regions.

    I did a search of this forum and tried the suggestion to remove the founder of page which has not made a difference. I don't want to remove the CSS because I'm precisely apply a style to text in this region.

    This started happening a few hours ago and it does not in itself unfortunately.
    Thanks in advance for any ideas.

    For what it's worth, the culprit was the inclusion of the editable area
    IN a tag, i.e.,.


    ALT ="" width = "435" height = "1" / > "



    Since is an inline tag, and the editable region is * INSIDE * the
    tag Inline, you cannot paste block tags in there. This is what has been launched
    the error and why it has happened when you tried to change this
    region.

    The same thing would have happened if this interval had been a

    tag , or
    also, since you cannot paste block tags in their midst, no more.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "buttercupnli" wrote in message
    News:eqdp84$D3K$1@forums. Macromedia.com...
    > Well, this is now fixed! I have rebuilt everything again from scratch. There now
    > work
    > fine.
    >
    > That devil knows what was going on...
    >
    > Thanks for your help ACE. I hope that I never see this bug again. But anyway,.
    > I am
    > scared I'll...
    >

Maybe you are looking for

  • I have Firefox 3.6 and you cannot download Quicktime 7.6.6 plugin to update Quicktime. Let me know how I can do this?

    I currently have QuickTime plugin 7.6.3 and asked to update the latest version of QuickTime on the Apple site. I tried to manually load QuickTime 7.6.6 plugin for Firefox and it wouldn't let me do that. A .window came on my MAC and was told that I ha

  • Satellite L20 - 120 - recovery takes too long

    I'm not sure, if I take the right recovery DVDs - I got it from my client. I have a DVD "GMR400864GR0", Windows XP Prof, 2008. After restoration, remove the DVD, first start XP - execution of the VBI for more than 2 hours (said I should not stop)-is

  • HP Mini 1000 system password has no fatal error CNU9182SHS

    HP 1000 Mimi when trying to start comes to ask current password, after three attempts system exited with Fatal Error Message CNU9182SHS. Others seem to have received the correct password based on the specific error message.  Help! TKS

  • Windows will not activate with a valid key?

    We got a new computer with Windows 7 pre-installed on it, but we took the hard drive out of that to transfer files to the new. We have installed a new hard drive clean in the old PC and I try to activate my retail Windows Vista but it says that the k

  • Install errof 1618 for hp deskjet D1460

    I have problem with installing the driver for HP Deskjet D1460 exit the installation code is of 1618. I driver installed on Windows Pro 8.1. EN computer Acer Pentium 4 2.93 Ghz Please help me with the installation of this driver.