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-----
From: Vladimir Begun [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 3:51 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: ORA-1410 Silliness
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.
*********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************1
