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"
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 |
Specify a DefaultExpression for a TField object?
How to Use InvalidateRect()to repaint the entire form?
How to Use Stored Procedures ?
How to retrieve a list of assigned properties ?
How to Resize StringGrid Columns ?
How to open or create a project using the TReport component?
How to draw transparent text onto a TBitmap ?
'Name Conflicting' . what does this error mean?
How many tables can be connected with joins in oracle at a time?
How to display seconds, minutes, tracks of an AVI ?
How to Create a rotated font?
How to Set a form's maxwidth in code?