Select statement works in 8.1.5  but does not work in 8.1.7 why???????

I have written a select statement as part of cursor in a
Database Trigger, the following statement works fine in Oracle
8i ver 8.1.5.0 but the same statement returns error PLS-00103
(Parser related error) in Oracle 8i version 8.1.7.0!!!!!!
The error shown is
PLS-00103Encountered the symbol")" when expecting one of the
following:
from
The Sql statement in a Database Trigger is as follows
select opn_stk,iss_qty,rec_qty,ROWID
from mnth_bal
where to_date(lpad(to_char(month),2,'0')||to_char
(year),'mmyyyy') >= SYSDATE AND
REV_NO = :NEW.REV_NO AND
     ITEM_STOCK_ITEM_CD = :NEW.ITEM_CD and
unit_cd = :NEW.unit_cd and
store_cd = :new.store_cd
order by to_date(lpad(to_char(month),2,'0')
||to_char(year),'mmyyyy') ;
Can any one please tell me whats the problem ? In 8.1.5.0 the
same statement in the trigger runs absolutely fine &
compiles.Because of this problem the trigger is not compiling in
8.1.7.0
Would be grateful for any solutions given

Relating line numbers in compile errors to source code.
Oracle does not count blank lines in line numbers. Commenting
with "--" blank lines or deleting blank lines will make the line
counter more accurate.
Oracle counts comments delimited with /*...*/ as one line, no
matter how many lines are in the source code. Using only "--"
will make the line counter more accurate.
Oracle does not count lines before the PL/SQL block DECLARE when
compiling triggers. (CREATE ... TRIGGER....FOR EACH...WHEN(...))
parts of the syntax are not counted. The line in the source
code with the DECLARE of the trigger's PL/SQL block will be line
1.
Hint: Avoid uncertainty. Use "SHO ERR TRIGGER <trigger_name>"
when looking at compile problems.
Good Luck....

Similar Messages

  • My passcode is working to unlock the screen but does not work with restriction passcode. Should they be different?

    My passcode is working to unlock the screen but does not work with restriction passcode.
    Tried it several times but it did not work, though i can use the phone and all features even after 13 failed attempts.
    Should restriction passcode be different from what i set?

    There is no default restriction password. If you didn't set it someone else may have. If you can't find it then you may have to follow the steps here:
    Forgot passcode for your iPhone, iPad, or iPod touch, or ...
    Do you have a backup which might not have this restriction passcode? If so restore to that backup?

  • HT4113 ipad password is giving me problems, works on wallpaper to unlock but does not work for restrictions or reset

    ipad password is giving me problems, works on wallpaper to unlock but does not work on reset or restrictions

    You can try to remember or get the passcode somehow. If not, the only other option is to wipe the device clean and restore it to factory settings.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • Thumbnail preview works in adobe reader 9 but does not work in adobe 8.0

    I have small issue. Thumbnail works in adobe reader 9 but but does not work in adobe acrobat 8.0 in win xp

    Anyone going to tell me how to do this uninstalling and installing??????????
    I don't want to mess things up even more! Geez--I'm almost 60 years old,
    need to work and this might be costing me a job. I'm not 20 and text and
    e-mail etc every day. I'm just asking for a little help that as I see it ,
    is due to a "glitch" with Adobe's software. They can easily in their
    technological minds put a warning on anything before someone downloads
    anything such as "If you download this and you  have already downloaded
    that,, then it won't work." How tough would that be??? They, like most other
    major corporations, are in it for the money. What has happened to customer
    service???
    I need a step by step with my hand held and so it won't screw up things even
    MORE. Adobe...get your customer service and your software together...This is
    draining. I may lose a job over it. I need to have my computer running well
    at this point in time as there is no extra time to spend dealing with
    software issue that are a result of Adobe's software incompatibility.
    I was on the phone for TWO hours last night telling people exactly what was
    going on. I even read the error message word for word. No one would help me
    unless I coughed up the money that I don't have...and in addition I will
    lose a job that might get me some money. This is why I am so upset. Why is
    dealing with Adobe always so difficult??? Of course, I am upset. I'm
    actually a lovely person. It is just that this stuff rattles my nerves.
    Especially when there is a jobwith a raiseinvolved that I may lose as a
    result.
    Now I had better get dressed and ready for the job I have now before I am
    late for work and lose that job, too.....

  • ISight works on an iMac (PC) but does not work in a MacBookPro

    I just migrated from an iMac (Power PC) to a MacBookPro 17' (Intel) using the Migration Assistant.
    In the iMac is the option to use iSight instead of a camcorder but this option is not coming out in the MacBook Pro. What do I have to do to have the same behavior in both computers?

    ... to reinstall
    Put your iLife Disk in the Superdrive, double-click the iLife package icon in the window that opens, and follow the on-screen instructions.
    I suggest you repair disk permissions before AND after running any installer that asks for your administrator password.
    Also take a look at this document that may help you:
    http://support.apple.com/kb/TA24419
    The iMovie that comes on MacBook Pros is called "iMovie". 
    The version you are reinstalling is named "iMovie HD".
    Both will be in your applications folder once you are successful.
    As explained in this article, http://support.apple.com/kb/HT3095
    you must be using iMovie HD 6 (or later) in order to use a built-in iSight.
    Jim
    G5 DP 1.8GHz w/Mac OS X (10.5.6) PowerBook 1.67GHz (10.4.11)   iBookSE 366MHz (10.3.9)  External iSight

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • Reading message from MQ- works in WSAD (IDE) but does not work outside WSAD

    Read from MQ:
    Same code works within WASD but does not work outside WSAD.

    PDL - thanks for the suggestions - here are the results:
    A button on the form that executes "this.print();" works fine.
    Changing "this" to "event.target" results in the same error.
    document.getElementById("PDFObj").Print(); works fine.
    However, the reason that I'm using ".postMessage([message])" instead of ".Print()" is because I actually have a toolbar that has save, print, zoom in, zoom out, page up, page down, etc.... I simplified the switch statement in the post above to only include print, but in reality has a case for each of the functions above. The postMessage call is triggering the error, since the catch statement is printing out the error message above. Any idea why this would work with Professional but not Reader.

  • My camera works with the photobooth and with skype but does not work with online applications such as "lolcam from facebook" or "faceonthehole" application. Please help

    My camera works with the photobooth and with skype but does not work with other applications like the "lolcam" from facebook or the " faceonthe hole" application. Can anyone help?

    There was a issue with school computers being used to spy on kids in their bedrooms, Mac's were involved.
    So Apple most likely tightened the API's to only select, trustworthy companies as not to abuse the web cam access priviledge.
    If you want to use a web cam with these other programs and services, you'll likely have to buy a third party USB one, so you can manually disconnect it.
    There isn't a way to physcially disconnect the built in web cam on Mac's without busting open the machine.

  • Facetime works fine on my iphone, but will not work on my MBA.

    Facetime works fine on my iphone, but will not work on my MBA.   Keeps telling me "unable to verify address" and says it is sending me a verification link to my email address but I never get anything.   Crazy. 
    After a while it tells then me that it cannot verify my email address because of a network connection  ("Could not verify the email address. Please check your network connection and try again. ")
    Does anyone have any ideas?

    Facetime works fine on my iphone, but will not work on my MBA.   Keeps telling me "unable to verify address" and says it is sending me a verification link to my email address but I never get anything.   Crazy. 
    After a while it tells then me that it cannot verify my email address because of a network connection  ("Could not verify the email address. Please check your network connection and try again. ")
    Does anyone have any ideas?

  • HT4995 My iPad 2 Location Service works fine but does not work on my home Airport router. How can I fix the problem?

    My iPad 2 Location Service works fine but does not work on my home Airport router. How can I fix the problem?

    lbryan1987 wrote:
    I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
    You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
    there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
    Seriously? It's physically broken!

  • My camera is working but does not work on skype how do I turn the camera on for Skype

    My camer is working but does not work on skype how do I turn the camera on.

    See this thread:
    https://discussions.apple.com/thread/5306216?tstart=0
    FIX: 
    1. You need Time Machine
    2. Go to folder /Library/CoreMediaIO/Plug-Ins/DAL/
    3. Copy AppleCamera.plugin to good place (usb memory stick is the best place).
    4. Go to Time machine in date that skype work fine.
    5. Change AppleCamera.plugin with file from Time Machine
    6. Restart system, Now skype need to work with camera.
    If that doesnt pass,
    Suggest looking here, much success has been found:
    http://community.skype.com/t5/Mac/OS-X-10-8-5-broke-Video-on-MacBook-Air/td-p/18 91729/page/4

  • I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • Java bean, works in Integration Engine but does not work in Adapter Engine.

    In connection to the following thread:
    PayloadZipBean - variable filename inside the archive
    I am trying to use the same bean.
    However I can see, that the bean is working correctly when I use Integration Engine.
    But if I am using ICo (AAE) and using the same bean in the receiver, I can see, that the bean gets called but does not work correctly.
    The audit log added to my bean shows, that the bean could read the filename correctly from the Dyanic Config in the message, but it cannot write the same into the message.
    Could you please help on this?

    Your above posted system details show multiple Java Console extensions.
    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
    Disable the Java Quick Starter extension: Tools -> Addons -> Extensions
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    You can try a direct connection: <br />
    Control Panel > Java > General tab > "Network Settings...": "Direct Connection" (enable)

  • I have a Serial Number which worked fine on my MacBook Pro but does not work on my desktop PC (Win 7).  What is the problem?

    I have a Serial Number which worked fine on my MacBook Pro but does not work on my desktop PC (Win 7).  What is the problem?

    You haven't identified the version so I can't tell if offering you contact options for Adobe Support will be of use to you.  But they will likely be your only hope of getting resolution unless you just happen to be using the wrong number as the serial number.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • I am trying to trigger a custom event using a program but does not work ..

    HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
    below is the code...
    {Key = '0010001115'. "Sales Order Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = 'ZXXXXXXXF'
        objkey                        = KEY
        event                         = 'ZEVENT'
      CREATOR                       = ' '
      TAKE_WORKITEM_REQUESTER       = ' '
      START_WITH_DELAY              = ' '
      START_RECFB_SYNCHRON          = ' '
      NO_COMMIT_FOR_QUEUE           = ' '
      DEBUG_FLAG                    = ' '
      NO_LOGGING                    = ' '
      IDENT                         =
    IMPORTING
      EVENT_ID                      =
      RECEIVER_COUNT                =
    TABLES
      EVENT_CONTAINER               =
    EXCEPTIONS
      OBJTYPE_NOT_FOUND             = 1
      OTHERS                        = 2}
    Please guide me if i am missing something.

    Hi Sunny,
    I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             =  'ZXXXXXXXF'
        OBJECT_KEY              = key
        EVENT                   = 'ZEVENT'
    *   COMMIT_WORK             = 'X'
    *   EVENT_LANGUAGE          = SY-LANGU
    *   LANGUAGE                = SY-LANGU
    *   USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    IMPORTING
       RETURN_CODE             = rcode
       EVENT_ID                = event_id
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    Regards,
    Saumya

Maybe you are looking for