Rows affected?
Posted in 2005
This is a multipart message in MIME format.
--=_alternative 0066C9FF85256FC0_=
Content-Type: text/plain; charset="US-ASCII"
Greetings,
I have an application (Power Builder) that us being used to make
inserts,updates, and deletes and the user would like to know how many rows
were affected by one of these operations. Is there a way to capture the
"rows affected" and return it to the application? (ie, similar to what is
returned if using Sql Editor)
Info window in Sql Editor
-- Executing selected SQL statements in Untitled.sql.
update backup_log_tbl set success_failed = "failed"
where complete_dt < "2004-04-30 00:00:00.000";-- 10 rows updated.
IDS 9.40 FC2
HPUX 11
--=_alternative 0066C9FF85256FC0_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Greetings,</font>
<br>
<br><font size=2 face="sans-serif">I have an application (Power Builder)
that us being used to make inserts,updates, and deletes and the user would
like to know how many rows were affected by one of these operations. Is
there a way to capture the "rows affected" and return it to the
application? (ie, similar to what is returned if using Sql Editor)
</font>
<br>
<br><font size=2 face="sans-serif"><b><u>Info window in Sql Editor</u></b></font>
<br><font size=2 face="sans-serif">-- Executing selected SQL statements
in Untitled.sql.</font>
<br><font size=2 face="sans-serif">update backup_log_tbl set success_failed
= "failed"</font>
<br><font size=2 face="sans-serif">where complete_dt < "2004-04-30
00:00:00.000";</font>
<br><font size=2 face="sans-serif">-- 10 rows updated.</font>
<br>
<br>
<br><font size=2 face="sans-serif">IDS 9.40 FC2</font>
<br><font size=2 face="sans-serif">HPUX 11</font>
--=_alternative 0066C9FF85256FC0_=--
sending to informix-list