Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

as Sqlerrm() returns message and code which is provided by orecle. exception 1: like for in implicit cursor when data not found error ouccers n we are writing exception handling like dbms_ou..(sqlerrm(...
harsha lohana's user avatar
1 vote
0 answers
57 views

I am copying some data via DB link from a remote DB (let's call it DB A) to another DB (DB B). If any errors occur then I catch them and write them to a table like this: EXCEPTION WHEN ...
Dinu Nicolae's user avatar
  • 1,331
1 vote
2 answers
3k views

How Oracle Database rollback to the beginning of the PL/SQL block, but not the earlier DML instructions (I think all this come under one single transaction). Because when I try to ROLLBACK creating ...
sql_dummy's user avatar
  • 783
1 vote
0 answers
156 views

How can I throw OracleException in odp.net 4? These methods... throw new OracleException(); // or with error number throw new OracleException(1013); ...do not work.
alexhutsau's user avatar
2 votes
1 answer
6k views

I have this class where I am selecting two values from the database and comparing it to the textbox values provided by the users. Below is my class. public void Userlogin(TextBox username, ...
user avatar
0 votes
1 answer
933 views

I want to handle any Oracle Db Exception on Application level.Hence written following piece of code in Application_Error function of Global.asax The code seems to be more specific but i want to write ...
SantyEssac's user avatar
1 vote
2 answers
3k views

I have a function that executes some SQL commands, and I've created a logger that I write in the file the command that was executed and the number of rows that were affected, but I also need to write ...
LikeIfYouCaredAboutMyName's user avatar
0 votes
1 answer
616 views

I am using Oracle Database 11g Release 11.2.0.4.0 - 64bit database and WildFly 8.2.0 Application Server. I am using managed connection in our application and XA transactions. When I try to execute a ...
user140888's user avatar
0 votes
1 answer
87 views

Say I have following query private void updateusers() { List<int> listRecords=new List<int>(); string strQuery="select * from table where role='Admin' and logged_in<=sysdate-1";...
Guruprasad J Rao's user avatar
0 votes
1 answer
159 views

I don't know if it is strange or not, but the execution stops/exits just after first encounter of SQLERRM. I need to saved the exception details into the table made for the same. Below is the code: ...
Sachin's user avatar
  • 1,003
0 votes
1 answer
104 views

I'm looking at a script I didn't write here. and it looks something like this: SELECT ... AND ( A.FIELD IN ( ... ... ) OR B.FIELD IN ( ... ...
Jonnny's user avatar
  • 5,049
0 votes
1 answer
633 views

In an OTHERS exception block I'd like to display the type of exception. EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE( -- I want to display the type of exception here -- ); END;
Jeff's user avatar
  • 8,164
0 votes
1 answer
175 views

I am archiving data from one table to another table using below procedure. create or replace PROCEDURE CHECK_TWO AS v_insert_count number; v_delete_count number; v_initial_count number; BEGIN ...
vkreddy's user avatar
  • 189
0 votes
3 answers
546 views

When trying to insert data into tables, it could fail for various reasons like unique key violated or foreign key violated. I could use DUP_VAL_ON_INDEX exception to know unique key is violated but ...
user1831003's user avatar
0 votes
1 answer
3k views

I am trying to install OracleClient 11g and initially i had a issue regarding JDK compatibility. Error: so i ended up uninstalling JDK 7 (64bit) and reinstalled JDK 6 (32bit) and edited sqldeveloper....
Mad-D's user avatar
  • 4,709
8 votes
3 answers
11k views

I'm experiencing an error when trying to connect to a remote Oracle 10g database from a C# 2008 Express Edition application I'm developing. I'm trying to use a minimalist, non-intrusive approach to ...
steve's user avatar
  • 147
0 votes
1 answer
311 views

If I have ORA-12899 returned from an insert or update statement. How can I extract the column name from the OracleException without parsing the string? ORA-12899: value too large for column "SCHEMA"....
Silvia Tomescu's user avatar
2 votes
1 answer
1k views

OracleException has no public constructors nor any way to get a new instance. I tried my XmlSerializerHelper class, but it requires a public parameterless constructor. I used BinaryFormatter to ...
Kiquenet's user avatar
  • 15.2k
3 votes
2 answers
6k views

I'm having an issue with a web service i have created. It is running fine when running on localhost on my PC. The problem is, when I deploy the web service to a remote IIS server, I keep getting "...
SpaceCowboy74's user avatar
1 vote
1 answer
524 views

I'm using the Oracle.DataAccess.Client data provider client. I am having trouble constructing a new instance of an OracleException object, but it keeps telling me that there are no public constructors....
Charles Crawford's user avatar
23 votes
8 answers
210k views

I've got a load-balanced (not using Session state) ASP.Net 2.0 app on IIS5 running back to a single Oracle 10g server, using version 10.1.0.301 of the ODAC/ODP.Net drivers. After a long period of ...
Greg Hurlman's user avatar
  • 17.8k