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 Posted / 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 View All Answers
Is Turbo Pascal still available?
Where are the Delphi 4 InterBase Certificate Keys and IDs located?
Why the error "Operation must use an updateable query"?
How to Create a rotated font?
What are the available Alternate security databases ?
How many tables can be connected with joins in oracle at a time?
How does inheritance operate when using the object of the classes?
'Translate error, value out of bounds' error what does these errors mean?
How to Insert a file at the cursor ?
MS SQL error '17824 Unable to write to ListenOn connection ' what does this error mean?
How to do a locate on a non-indexed field?
How to Initialize an array or record to null?
How to Detect if the system time has been changed ?
How to Load a TListView component that contains SubItems?
What is the difference between Delphi and Delphi Client/Server?