How can i get the oracle's result strings?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ysyang
Posts: 44
Joined: Tue 14 Jun 2005 09:10

How can i get the oracle's result strings?

Post by ysyang » Mon 26 Feb 2007 10:04

Hello Happy new year~

When i send SQL in SQL*Plus, The result string(xx rows inserted, xx rows deleted...etc) returned. As you known too.

I want to get the Oracle's result string. How can i get it?

ODAC can return it?

I'm using ODAC 5.80.0.38 for Delphi 7

Thank you

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Mon 26 Feb 2007 10:22

I think, this is not an common Oracle result string.

This is a sql*plus result string.

You had to create your own string.

Use the properties like rowsprocessed.

Greetings
Jens

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 27 Feb 2007 13:16

ODAC does not create messages about operations that were performed. You can use the RowsAffected and RowsProcessed methods of TOraQuery to get the number of rows, that has been affected during the last operation.

Post Reply