Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine number of rows updated?

Status
Not open for further replies.

alwaysAnewbie

Programmer
Sep 12, 2002
23
US
I have RTFMed, searched here and teradata forum with no luck.

In Oracle PL/SQL you could find out how many rows the previous update statement affected by using SQL%ROWCOUNT. Is there an equivalent way to do this in Teradata?
 
Sure there is. Equivalent is called in Teradata SQL activity_count.


---do statement eg
select * from yrtable;

---insert nbr of rows affected in a logtable
insert into logtable values :)activity_count):
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top