Oracle 9i Bug Or Compatability issue with Forms 5

I create this function in Ora 8 and using it in Forms 5. It working fine in forms trigger When-Create-Record.
But when I migrate to Ora 9, it working in SQLs but in forms 5 it genrates an error:
ORA-03113 end-of-file on communication channel
CREATE OR REPLACE function GenerateEmpoyeeID
return char
is
mEmpID char(5);
Begin
select substr(decode(length(max(to_number(empcode))),1,
'0000'||to_char(max(to_number(empcode))+1),2,
'000'||to_char(max(to_number(empcode))+1),3,
'00'||to_char(max(to_number(empcode))+1),4,
'0'||to_char(max(to_number(empcode))+1),to_char(max(to_number(empcode))+1)),1,5)myid
into mEmpID
from ( select empcode from empmst_5
union
select empcode from delmst_6 );
return (mEmpID);
End;
So, please tell me the right way against this Oracle error. I don't want to use it with If-Else statement.

Out of interest have you tried returning VARCHAR2 rather than CHAR?

Similar Messages

  • [svn] 4070: Addressing backwards compatibility issue with states.

    Revision: 4070
    Author: [email protected]
    Date: 2008-11-11 13:13:43 -0800 (Tue, 11 Nov 2008)
    Log Message:
    Addressing backwards compatibility issue with states.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17395
    Reviewer: Peter F.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17395
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj

    Revision: 4070
    Author: [email protected]
    Date: 2008-11-11 13:13:43 -0800 (Tue, 11 Nov 2008)
    Log Message:
    Addressing backwards compatibility issue with states.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17395
    Reviewer: Peter F.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17395
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj

  • Compatability Issues - Blank Forms

    I have sent out a from with sections filled in and saved.
    A client got back to me saying the form was blank, yet from my end and all the office macs, it has the correct data.
    The form was created and filled out in Acrobat Pro XI
    Obviously this is at their end, but how do I go about making sure there a no compatibility issues with my forms in future?
    Thanks

    You need to establish exactly what software is installed and used. The distinction between "installed" and "used" is important. Many people do not realise that if a PDF is viewed in a browser such as Chrome or Firefox, that these will be default IGNORE Adobe Reader even if it is installed. You cannot make a form compatible with every PDF viewer as many do not even show forms; worse, others break them.

  • Compatibility issue with developer 6i using (64 bit) OS

    Hi All,
    I am using oracle 9iR2 (32 bit) on Linux Red Hat (32 bit) with developer 6i. Now i want to upgrade OS Red Hat (64 bit) and migrate database 10gR2 (64 bit).Is there any compatibility issue with developer 6i using 64 bit Red Hat OS / Oracle Database ?
    Thanks

    Is there any compatibility issue with developer 6i using 64 bit Red Hat OS / Oracle Database ?
    No, as long as developer 6i is at least patch 16. We use it.

  • Yoga 2 pro / win8.1 - "Compatibility issue with your power management system"

     Hi,
    After downgrading form win10 back to 8.1 due to endless driver malfunction and a significant decrease in overall performance, I got this message in windows action center: “Compatibility issue with your power management system”. When I click on it it says: This solution could not be downloaded
    Most likely causes:
    • Your computer was unable to download the solution at this time. Check to make sure your computer is connected to the Internet, and then try to download the solution again later. As you can see, my internet connection is fine. Does anyone know how to solve this? Thanks,
    Daniel

    Check if installing this helps you:
    http://download.lenovo.com/consumer/mobiles/em8.0.2.3.exe
    If you already did this, check if you can do this BIOS update as well:
    http://download.lenovo.com/consumer/mobiles/5ecn96ww.exe
    Let me know if it works.
    Jonas
    Microsoft MVP: Windows Consumer Expert
    Yoga Tablet 2 10 || ThinkPad X1 Carbon (20A7007MPH) || ThinkPad Helix (3698-6EU) || IdeaCentre B540
    Twitter: @jonashendrickx

  • Issue with form based Authentication in three tier sharepoint 2013 environment.

    Hi,
    We are facing issue with form based Authentication in three tier environment.
    We are able to add users to the database and in SharePoint.
    But we are not able to login with created users.
    In single tier everything working fine
    Please help , Its urgent ... Thanks in advance.
    Regards,
    Hari
    Regards, Hari

    if the environments match, then it sounds like a kerberos double-hop issue
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • HT5306 I do not want to give remote access to anyone but myself as privacy is my friend.  Can this remote desktop software still be for me personally unless I allow access and for my MAC lap top only?  What if I do not update? compatibility issues with wh

    Hello:
    Thank you for the update for remote access for desktops.
    Personally, I do not want to give remote access to anyone but myself as privacy is my friend.  Can this remote desktop software still be for me personally unless I allow access and for my MAC lap top only?  What if I do not update? I do use this lap top in other countries.  compatibility issues with what?

    Apple Remote Desktop is off be default. It has to be enabled for some one to be able to remotely connect to the computer. And then, you still have to have a user name and password on the computer to remotely connect with.
    If you want to see if remote access has is enabled for Apple Remote Desktop; you can find the setting in, Apple Menu, System Prefrences, Sharing. If it's enabled, Remote Management or Screen Sharing will be checked.
    Beucase Apple Remote Desktop Agent is part of the Mac Operating System; even if your not using it, Apple Software Updates will from time to time offer updates for ARD Agent. Software Updates can some times be stacked ontop of each other; so chosing not to install an update, can mean other updates you may want may not be offered. At least until you install the updates those updates require. Also software updates can improve the security of your computer.

  • Since updating my iPhone 4 to iOS 5.1 I'm having compatibility issues with my speakers and my iTunes wifi sync isn't working. Anyone else having the same problems?

    Since updating my iPhone 4 to iOS 5.1 I'm having compatibility issues with my speakers / docking station and my iTunes wifi sync isn't working. Anyone else having the same problems? Both worked fine until the update...

    Okay. I got it working again by setting it up as a new phone instead of just syncing. Then I backed up. All is good today.

  • OSX 10.9.1 Compatibility issue with Sharp Aquos PN-L702B and PN-L802B

    I have Mac Mini's connected to the Sharp Aquos PN-L702B and PN-L802B touch screens and after updating to 10.9.1 am experiencing what appears to be a compatibility issue with the Sharp TPM driver and the OSX 10.9.1.  
    Everything works perfectly previously on 10.8.4 and 10.8.5.  I did not test on 10.9.0 as I went straight to 10.9.1.  Anyone else having this problem?  Any thoughts on resolution?

    OK so perserverance seems to have helped here - i used the cmd R function on start up to get to the page where i can re install OS X Lion - Safari now working.
    However i have Office 2011 for MAC and now Excel wont start so i will post on another thread for help with this
    Hope this helps if anyone has a similar issue

  • Adobe Acrobat 8 Standard compatibility issues with Office 2007 and Windows 7

    I just updated my platform to Windows 7 and upgraded from Microsoft Office 2003 to Microsoft Office 2007.  The PDF printer did not download and realized that there are compatibility issues with Office 2007.  How could I get this fixed?

    Buy Acrobat 11.

  • Compatibility issues with mac OS - Lightroom 4 works where CS5 won't

    Hope someone can shed some light on this issue...
    I tried installing Lightroom 4 on Mac OS 10.6.1 (which is currently running CS5 without issues) but the specs call for OS 10.6.8 or later (10.7). When I updated my OS to 10.6.8, none of my CS5 apps work! They encounter launch errors - InDesign, Illustrator, Dreamweaver... only Photoshop seems to work. So, I reverted back to OS 10.6.1 and all the programs function. Is Adobe working on a solution to fix this issue? I see with the forums that several other users have noted the same issue with CS5 not working in the OS 10.6.8 environment. I don't want to upgrade my OS just to have Lightroom function, but none the CS apps. I was thinking of partitioning my HD to load both OS, but that shouldn't be the workaround. I am very disappointed that I've purchased Lightroom 4 and now am unable to use it due to compatibility issues with the OS with the rest of CS5.0.

    Pixelzboy are you receiving any specific errors when launching your applications under 10.6.8?  CS5 should work just fine with 10.6.8 as well as 10.7.3.  You may also want to post to the product specific forums with your launch errors as the users in those forums will be more familiar with troubleshooting steps specific to those products.

  • Are there compatibility issues with 1st gen I pad and new wireless printers?

    Need to replace HP printer being used with 1st Gen I Pad.  Are there any compatibility issues with new wireless printers?

    Hello jxroads,
    Welcome to the Apple Support Communities!
    I understand that you are going to replace your printer and would like more information on what printers are supported for AirPrint. The attached article has a list of AirPrint printers currently supported for iOS devices. 
    About AirPrint - Apple Support
    Cheers,
    Joe

  • Microsoft ERP MA (3.3.1077.2) for SAP and compatibility issues with SAP 6.0

    Hi all,
    I want to configure the ERP MA (3.3.1077.2) for SAP on ILM 2007 in order to synchronize passwords between AD and SAP. I have several instances of SAP. The SAP versions are as follow:
    SAP ECC 6.0 7.00 - 64bit
    SAP ECC 6.4 7.01 - 64bit
    SAP BI 7.1 7.01 - 64bi
    I was wondering whether there are compatibility issues with any of the above mentioned versions.
    Your feedback is appreciated.
    Regards,

    Did you install a Java machine JRE ? If no, when you do the drag and drop you have the popup but it does work
    [http://www.download.com/Java-Runtime-Environment-JRE-/3000-2417_4-10009607.html |http://www.download.com/Java-Runtime-Environment-JRE-/3000-2417_4-10009607.html]

  • I have to downgrade from Yosemite to Snow Leopard because of compatibility issues with some of my software.  Can I use PS Elements 12 with snow leopard?

    I have to downgrade from Yosemite to Snow Leopard because of compatibility issues with some of my software.  Can I use PS Elements 12 with snow leopard?

    PSE12 became a 64 bit app for the first time on Mac. The recommended system requirements are Mac OS X v10.7 through v10.8.
    Are you not able to use lion or Mountain Lion?

  • E2100L Cisco Connect and Network Magic compatibility issues with Mac OS X 10.7 Lion

     When you will release the latest version for Wireless router Linksys E2100L?, because I bought a MAC with Lion and I can´t use my Router.
    Regards,
    Daniel

    Older versions of Cisco Connect for Mac computers have compatibility issues with the latest release of Mac OS X (10.7 “Lion”). Only Cisco Connect versions 1.4.11222 and newer are compatible with the Lion operating system.
    Here is the link to ensure that Cisco Connect can be installed on your Mac: http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=a4e763be954243cfa0ab960c0fac7105_KB_23xxx_EN_v1.xm...
    There is no such information about the release of Cisco Connect for E2100L for the Mac OS X (10.7 “Lion”) compatibility, so you need to wait for further release of the firmrware for E2100L. 

Maybe you are looking for

  • Please Help! - MBP freezing after EFI 2.2 firmware update

    Hey guys. I'm hoping someone understands whats happening with my 2011 13" MBP (corei5, 4gb ram, 750 gig HDD) I updated the computer with EFI Firmware 2.2 and the most recent security update a few days ago. My computer will boot to my username fine. I

  • When a+b+c is not equal to a+c+b

    Hi, I would be pleased to have some comment on the following : if a+b+c != a+c+b then something the + operator is not working as it should !? SQL> select a,b,c,a+b+c,a+c+b from (select date '2005-02-28' a, numtoyminterval(1,'MONTH') b, numtodsinterva

  • How do I make a publication interactive for web use?

    I have Design Premium CS5.5. I created a publication in In Design and would like to make it interactive (turn pages and search capability) and place it on my website. What software in my Design Premium package would I use to do this?

  • Installing Flash Player with new Google Chrome

    hello, i need help. i decided to try out the new google chrome and it works really well, but the flash player is not updated...so i've been trying to do so but its either my computer won't let me or somethings wrong. i can put the "install flash driv

  • Why is my iPhone 4 shrinking my pictures?

    Sometimes pictures from the iPhone are nice and in full size 1536 x 2056 px. Other times for some reason the pictures taken are under 300kb and 768 x 1024 px.  These pictures are all taken with the rear camera of the iPhone 4. It makes no sense! I ca