When I try to execute sql query from delphi7 it throws the
following exception ORA-01704: string literal too long. I
know the reason why its throwing this exception. My problem
is.... I have catched this exception throw Try.... Except
block.....In except block i am performing rollback..... due
to above error its also throwing exception in rollback
transaction...........due to rollback
exception...........it had created some problem in
connection...........every time when i try to open or close
a connection it throws an exception " Operation is not
allowed when the object is open"



When I try to execute sql query from delphi7 it throws the following exception ORA-01704: string l..

Answer / tazeem ansari

Whenever open an connection database fisrt close it
fist line of code is close connection.

or your database table is open close it from database .

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Delphi Interview Questions

How do I write a global error handler?

0 Answers  


How to use the InterBase Express (IBX) SQL monitor?

0 Answers  


How to Make text background transparent?

0 Answers  


How to Return application's exit code?

0 Answers  


How to Customize TTrackBar?

0 Answers  






What are the different types of pointers used in delphi?

0 Answers  


How to Change the papersize of a print job ?

0 Answers  


What is the target load order?

0 Answers  


Where can I get a copy of Delphi?

0 Answers  


How to Copy files using the Standard Windows Copy file dialog box ?

0 Answers  


How does inheritance operate when using the object of the classes?

0 Answers  


How to Display a bitmap on the client area of an MDI parent form?

0 Answers  


Categories