OracleScript not raising NO_DATA_FOUND

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 1
Joined: Wed 11 Jan 2012 13:33

OracleScript not raising NO_DATA_FOUND

Post by Huetti » Wed 11 Jan 2012 13:51

I'm executing the following script (just for demo purposes) using the OracleScript class.

Code: Select all

i number;
    select 1 into i from dual where 0=1;
Doing so should lead to a NO_DATA_FOUND exception (when executing with SQLDeveloper/Toad...) but not when calling Execute().
Is there an event which is fired in case of an NO_DATA_FOUND or am I missing something?

Kind regards

Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 12 Jan 2012 15:33

Post Reply