Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-1410 Silliness

RE: ORA-1410 Silliness

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Thu, 02 Jan 2003 13:23:54 -0800
Message-ID: <F001.005261F0.20030102132354@fatcity.com>


Okay ... I need to be clearer ... this is because editors have no concept of "line-of-code" that Oracle uses. For Oracle one 3 page insert statement is one statement, whereas an editor will treat it as a bunch of line numbers (when it encounters a linefeed, it is a new line anyway).

This should complete my statement. After getting bitten by this, I *ALWAYS* select from USER_SOURCE to get the correct information, because that's what Oracle uses anyway.

Wasn't there a problem in reporting exact error location in user defined exception handling?
Raj



Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art!

-----Original Message-----
Sent: Thursday, January 02, 2003 3:51 PM To: Multiple recipients of list ORACLE-L

Jamadagni, Rajendra wrote:
> Oracle doesn't, has never been able to pinpoint exact line number (in

Can you please prove it? Do not you think that this statement contradicts to the sql query you provided below. :) There is quite some difference with GUI which pulls/[s]pools PL/SQL code out and PL/SQL engine. There can be some bugs, for sure, but there are no bugs in PL/SQL (read ADA) concepts of line numbers handling.

> cases such as these) especially with pl/sql packages. I believe the
> problems can be found by executing following query ...
>
> select line, type, source
> from user_source
> where name = <your package_name)
> and line between 1960 and 1980

-- 
Vladimir Begun
The statements and opinions expressed here are my own and
do not necessarily represent those of Oracle Corporation.




-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

Received on Thu Jan 02 2003 - 15:23:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US