What is your strategy in order to locate the wrong line?

Hi Experts,

We, the developers to meet VALUE_ERROR error sometimes when we try to convert columns TO_NUMBER TO_CHAR or TO_DATE. For this reason would be a mistake. (for example: ORA-01722 invalid number etc.)  So what is your strategy in order to find which line this error occur?

with

Q1 as (select decode (mod (rownum, 50), 0, "x", rownum) neck of the double connection of level < = 100)

Select to_number (col) in q1;

Select * from version of v$.

Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

Thank you

Hello

I used dml error logging and custom conversion function.

create or replace
function IsNumber(p_value varchar2) return number
is
  l_number  number;
begin
  l_number := to_number(p_value);
  return 1;
exception when others then
  return 0;
end;
/

with
q1 as (select decode(mod(rownum, 50), 0, 'x', rownum) col from dual connect by level <= 100)
select * from q1 where IsNumber(col) = 0;

Function ISNUMBER compiled

COL
----------------------------------------
x
x

Tags: Database

Similar Questions

  • What is your strategy to find errors that are not triggered by the WebService error handler?

    Is there a way to underride the default functionality of WebService.as? I can't find the source code in the SDK, so I guess that this part of Flex is not Open Source.

    I find that the use of Web services there are many errors that potentially happen that I can't capture in the user interface. Alternatively, let me rephrase, I couldn't find a way to capture in the user interface.

    For example, the error message "Unable to load the WSDL" following occurs. Now, I could probably design a strategy all about check that the connection is still alive and these, but then I saw the other errors that occur in the WebService base classes that are all asynchronous licensees.

    Is it possible to add a default handler than capures these types of errors? (They aren't catches by FaultHandlers).

    I can't have a user interface that displays the large white box to end-users with a stack trace. Thank you.

    [FaultString = "Unable to load the WSDL" RPC error faultCode = "Server.NoServicesInWSDL" faultDetail = "no < wsdl:service > element in WSDL to." "]
    to mx.rpc.wsdl::WSDL/getService() [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc \wsdl\WSDL.as:256]
    to mx.rpc.wsdl::WSDL/getPort() [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDL.as:182]
    to mx.rpc.soap::WebService/ http://www.adobe.com/2006/flex/mx/internal:wsdlHandler () [E:\dev\flex_3_beta3\sdk\framewor ks\projects\rpc\src\mx\rpc\soap\WebService.as:267 ]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    to mx.rpc.wsdl::WSDLLoader/checkLoadsOutstanding() [E:\dev\flex_3_beta3\sdk\frameworks\projec ts\rpc\src\mx\rpc\wsdl\WSDLLoader.as:195]
    to mx.rpc.wsdl::WSDLLoader/resultHandler() [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\s rc\mx\rpc\wsdl\WSDLLoader.as:173]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal:dispatchRpcEvent () [E:\dev\flex_3_beta3\sdk\fra meworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:175 ]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal:resultHandler () [E:\dev\flex_3_beta3\sdk\framew orks\projects\rpc\src\mx\rpc\AbstractInvoker.as:198 ]
    at mx.rpc::Responder/result() [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Res ponder.as:48]
    at mx.rpc::AsyncRequest/acknowledge() [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx \rpc\AsyncRequest.as:81]
    to DirectHTTPMessageResponder / completeHandler ([E:\dev\flex_3_beta3\sdk\frameworks\projects\ rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387])
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I discovered the programmers, that when I do not use the debug version of the player that those mistakes should properly propagate to the error handler.

  • CONFUSION ON WHAT IS THIS LAPTOP IN ORDER TO GET THE CORRECT CHIP SOUND DRIVER

    THE BACKGROUND OF THIS LAPTOP SAYSIT IS:

    PRODUCT: HP PAVILION dv 1000

    SN #[personal information]

    PN # PM054UA #ABA

    NOW, WHEN I PUT IN THE PN # IT SHOWS

    HP Pavilion dv1040us PC drivers

    IT IS POSSIBLE THAT IT WAS BUILT AT THE TIME OF THIS CHANGE.  FOR THE 1000 SOUND DRIVER DOES NOT CHANGE AND THERE IS NO SOUND BY HARMAN/KARDON BUILT-IN OR HEADPHONES.

    IT OF MAYBE A BURNED ON THE CHIP AND IF SO WHAT SOFTWARE CAN I USE TO TEST THIS SITUATION?

    I HAVE TRIED EVERYTHING I KNOW AND AM OPEN TO SUGGESTIONS.  I HAVE LUCK, USE THE DRIVERS FOR THE 1040?

    THANK SOMEONE FOR SUGGESTIONS.  J

    Hello

    The following link shows the specifications of your machine:

    http://support.HP.com/us-en/document/c00247186

    Yes, it's a dv1040us and its product number is PM054UA #ABA. TIS must be very old machine because I can't find more than:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=228&LC=en&cc=us&DLC=en&sw_lang=&product=433749

    For her, please try Conexant CX20468-31 AC97 Audio Driver:

    http://ftp.HP.com/pub/SoftPaq/sp28001-28500/sp28481.exe

    Kind regards.

  • Should what action I use to get back into the time line?

    Hello guys.

    I have this slide containing a video, and I wish have a button that brings the student to the point 0 of the chronology of the slide.

    Should what action I use? I read something about Javascript, but was hoping that might be an easier way.

    Can someone help me pls:

    To replay a blade, I use this tip action:

    Expression cpCmndGotoSlide = cpInfoCurrentSlide-1

    Finally, you must add the command continue, depends on the configuration of the slide.

  • When you type on the keyboard, the characters on the screen are not what I typed. "These characters are in the wrong places (~ @ #" | "), how can I solve this problem?".

    The characters are in the wrong places (~ @ "|") (# and the Sterling character is missing), I tried troubleshooting and this message comes on my screen.

    ID of device PNP ACPI\PNP0303\4 & 31AD995D & 0
    Error code this device is not present, does not work or does not have all its drivers installed.
    One of you smart people have a solution I can try.
    Thank you very much
    otev

    The characters are in the wrong places (~ @ "|") (# and the Sterling character is missing), I tried troubleshooting and this message comes on my screen.

    ID of device PNP ACPI\PNP0303\4 & 31AD995D & 0
    Error code this device is not present, does not work or does not have all its drivers installed.
    One of you smart people have a solution I can try.
    Thank you very much
    otev

    You use the wrong keyboard layout. Apparently, you have a UK keyboard, if you want that the UK keyboard layout. You are probably using the American provision.

    To change it, go to control panel | Region and language and click the keyboard and languages tab. Then click on change keyboards... and choose the one that suits you.

  • Hello, I need help I just hit Photoshop on your web site, but I had the wrong version, I need for MAC not PC

    I need to know how to change the version from PC to Mac please I just buy it but I have not downloaded

    Use the chat here:

    Contact the customer service

  • Is this bug reports Oracle - 'break the order property' in the report "above.

    Is this bug reports Oracle - 'break the order property' in the report "above.

    Anyone would confirm that in the report 'group above', we could only order the values in the column of brake with ' "nil" or "ascending" or "descending" provided by "pause command property? '"

    In the following example, "Dept" is brake column. Reports Oracle allows the values of the order in 'Dept' with 'descendant' provided by 'pause order property:

    Dept. 30
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    20 DEP.
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    Dept 10
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    or "Crescent" provided by "pause order property:

    Dept 10
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    20 DEP.
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    Dept. 30
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    I have to do:

    20 DEP.
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    Dept 10
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    Dept. 30
    employment ename salary
    xxx xxx xxx
    xxx xxx xxx

    Could I do it? Could someone confirm that we could never do this, or if so, how?

    Million thanks for the advice.

    M.Z.

    Edited by: jielan 18 September 2010 08:23

    Why must be a bug? You have a customs provision and must find a way to fill. But, what is your real sort order? You have only the three departments? If so, you could add a column in your query as

    DECODE(DEPT,  20, 1, 10, 2, 30, 3, 4) SORTING
    

    put this column in the same group as dept and sort after this new column.

  • Battery and general order questions for the MacBook Pro 13 inch retina (2015)

    I just bought a MacBook Pro of the retina (100% Brand new) as my first product Mac and I love it! I want to keep this laptop for as long as I can especially for the price I paid for it. Battery is my number one concern, and I want to keep the health of the battery as healthy as possible.

    On a daily basis, I tape regularly documents, surf the web, watch YouTube, movies and videos, and non-intensive games like Flash games.

    Here are my questions:

    If accidentally you unplug the charger and plug it back immediately, this indictment as a load sprays? What defines a cycle?

    Is it safe to use your laptop while he's in charge?

    What are some tips to keep the battery a longer period for general use?

    What are some tips for maintaining the health of the battery?

    Why is it important to calibrate the battery each time in awhile? How can I do?

    What are things which reduce the wear of the battery and how to avoid them?

    What applications are useful to monitor and maintain the battery?

    What are your thoughts on getting a replacement battery for Apple laptops?

    What are your personal recommendations on set make the laptop last as long as possible?

    Thank you very much for the help!

    Answers to most questions can be found here.

    https://support.Apple.com/en-us/HT204054

    Modern battery of Macbook didn't need to be calibrated.

    You can use your Mac while being charged.

    I use app battery of nuts of coconut, but not necessary.

    Best.

  • OBIEE 11.1.1.7 CSV export order to the wrong column

    When you export a view with PDF/PPT/XLSX the column order is correct.

    If I use CSV, TAB separated or XML almost always order is correct.

    But now it happened that the order is just the wrong way autour.

    View:

    Column A column B column C

    XSLX export:

    Column A column B column C

    Export CSV (false):

    C column B column A

    Is there a workaround/solution option to influence that?

    The CSV does not export the view like the fact of XLS/XLSX, CSV taking the columns in the criteria tab, so it can also export columns excluded according to your table.

  • Can someone do in your network by using only the phone lines?

    Hello

    so I get calls from 'Windows' weekly.
    The team of 'windows' wants to help solve the computers...

    Crooks, of course, but they keep calling me.

    Y does it have that in any way the security of the network is compromised PURELY through the use of telephone landlines?

    Is there a way to "trap"? For example, giving the command remotely to a computer (trap) the property of Microsoft or the FBI or... ? I bet that someone wants to catch them? I wouldn't mind redirecting their...
    If they keep the call, he must mean the scam work and the people in the fall.

    If the telephone line does not connect to your computer, then no..  If your computer has a modem and the telephone line is connected to it, then yes there are ways they could fool you or how misconfigure your computer allowing them full access.

  • New iPhone IS does not work with MAC Mini 10.6.8. Apple support says upgrade your iTunes. Its the wrong color icon. WHAT? iTunes is the last 11.4 for my mac. All my music is on my Mac. Help!

    New iPhone IS does not work with MAC Mini 10.6.8. Apple support says upgrade your iTunes. Its the wrong color icon. WHAT? iTunes is the last 11.4 for my mac. All my music is on my Mac. Help!

    That is right. The requires iTunes 12.3.3 and in order to get it, you will need to update OS X to El Capitan. That's how Apple has created for better or worse, I'm sorry.

  • I try to use windows excel for windows vista and am asked for a product key. How can I find out what order to use the product?

    I try to use windows excel for windows vista and asks me to enter a product key. I am the sole owner of the computer but have no installation CD for recharge Excel. How can I find out what order to use the product? From now the product doesn't let me do anything. Help, please!

    Hello

    Did you pay for Office (including Excel) in a packaging separated when you bought your computer?

    Office is not included with your purchase of computer for free.

    Most new computers come with a trial version of Office that lets 'x' number of days usuage.

    After this test times out, you will have to buy Office.

    And the product key on the computer case or laptop for the operating system, not for the desktop Suite.

    Here is the link for the Microsoft Store to Office products:

    http://www.microsoftstore.com/store/msstore/HTML/pbPage.Office_Category_Page?ICID=Home_4up_1_OfficeCatPage

    And you might be interested in the free Open Office Suite of Office Applications.

    http://www.OpenOffice.org/

    For any other question about Office, please repost in the Office Forums:

    http://answers.Microsoft.com/en-us/Office

    See you soon.

  • I have windows vista and when I click on a shortcut on the desktop I have a pop up asking what file to open it with. In order to open the file I find the actuall file.

    Original title: registry exe problem

    I have windows vista and when I click on a shortcut on the desktop I have a pop up asking what file to open it with. In order to open the file I find the actuall file. This also occurs when you download the software, which makes it difficult, because the file is not on the pc yet. All solutions?

    Looks like you may have a virus or other malware. Get your updated antivirus program and boot into Safe Mode. Note that some viruses can hide from your normal antivirus program, so you really need to scan in Safe Mode. To enter in Safe Mode when you turn on first, press F8 on every seconds until you get the menu, and then select Safe Mode. Then run a complete system scan.

    Microsoft has suggestions and offerings to

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-remove-a-computer-virus

    Moderator Forum Keith has a few suggestions along this line to

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/Windows-Explorer-has-stopped-working/6ab02526-5071-4DCC-895F-d90202bad8b3

    If that suits him fine. If this is not the case, use system restore to go back to an earlier date at the beginning of the problem. To run system restore, click Start-> programs-> Accessories-> System Tools-> system restore. Click on the box that says show more restore points.

    You can check the corrupted system files. Open an administrator command prompt and run SFC if the above does not help. Click START, and then type sfc in the search box, right-click to SFC. EXE and click run as administrator. Then, from the command prompt type sfc/scannow.

    Finally if all else fails, you can look at the rather cryptic system event log. To make, click Start-> Control Panel-> administration-> event viewer tools. Once in Event Viewer system log-click and scroll entries looking for these "error" with indicator see if you can find guidance on where the problem may be.

    I hope this helps. Good luck.

  • I can't locate the contents of what was in the folder 'my documents '.

    I recently upgraded to vista XP, I can't locate the contents of what was in the folder 'My documents' anywhere. When these files is passed or they deleted in the upgrade?

    In the Security tab, add you in its own right. Go to advanced and control who has access.  Add yourself (if not there) and delete all others.  Then come back and go to the tab of property and take over the case.  Here are a few tips and information on permissions and provides which may help.  But take courage - it seems that we have to fear that found the lack of file and it should be as a matter of time before we can access despite the problems affecting permisions them.  You will have to perhaps give you all the rights and take in hand the folder of the user himself access - but let's see if it works this easier way first (or if it does not, we invite you to try to change the property on the users folder and the permissions, even if she is used to.  In this case, do remove other USERS from the permissions section.

    To view your permissions, right-click on the file/folder, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have: http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista: http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/.  To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article: http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

    To resolve this problem with folders, appropriating the files or the drive (as an administrator) and give you all the rights.  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  You can change now switched to read-only (even if the main folder indicates that they are always read-only - you can access yourself as the owner).  You can keep them in read-only to other users, customers and administrators even (although they can support themselves and access, if they wish, and it is really not that you can do to stop it except protect the file with a password by using a 3rd party product.)  Here is more information on the ownership of a file or a folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html.  To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    Good luck and I hope this helps!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Woman updated its iPAD Pro 10.0.2 and is now locked screen display "Enter Access Code, contact ID requires your access code when you restart the iPad." She has no idea what is an "access code". Any help is appreciated.

    Woman updated its iPAD Pro 10.0.2 and is now locked screen display "Enter Access Code, contact ID requires your access code when you restart the iPad." She has no idea what is an "access code". Any help is appreciated.

    If she don't remember: If you have forgotten the password for your iPad, iPhone or iPod touch, or your device is disabled - Apple supports

Maybe you are looking for