On Thu, Mar 4, 2010 at 7:32 AM, Jon Westcot <[email protected]> wrote: > Hi all: > > Is there a way to tell if an UPDATE statement actually updates a record > when there's a WHERE clause being used? > > For example: > > UPDATE table1 ; > SET field1 = temp_value ; > WHERE field2 = search_value
Hi Jon, Check out the _TALLY system variable. This should be set to the number of records effected. -- Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

