﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Релиб / Oracle / Базы данных  / как узнать количество строк обработанных предидущим запросом / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Релиб</description><link>http://www.relib.com/forums/</link><webMaster>robot@relib.com</webMaster><lastBuildDate>Sat, 22 Nov 2008 03:42:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: как узнать количество строк обработанных предидущим запросом</title><link>http://www.relib.com/forums/Topic745570-21-1.aspx</link><description>В рамках SQL - никак.&lt;BR&gt;&lt;BR&gt;Внутри PL/SQL-блока можно использовать атрибуты неявного курсор, конкретно %ROWCOUNT. Подробное описание есть в стандартной документации к ORACLE8 (Oracle8 Database/PL/SQL User's Guide and Reference, Release 8.0/Interaction with Oracle - Using Cursor Attributes - Implicit Cursor Attributes):&lt;BR&gt;&amp;quot;Implicit cursor attributes return information about the execution of an INSERT, UPDATE, DELETE, or SELECT INTO statement. The values of the cursor attributes always refer to the most recently executed SQL statement. Before Oracle opens the SQL cursor, the implicit cursor attributes yield NULL...&amp;quot;</description><pubDate>Mon, 01 Apr 2002 16:33:00 GMT</pubDate><dc:creator>SINDY</dc:creator></item><item><title>как узнать количество строк обработанных предидущим запросом</title><link>http://www.relib.com/forums/Topic745570-21-1.aspx</link><description>из какой (может быть глобальной) переменной&lt;BR&gt;можно узнать количество строк обработанных &lt;BR&gt;любым (update, select ...) предидущим запросом?&lt;BR&gt;( что-нибудь типа &amp;quot;@@rownum&amp;quot; в &amp;quot;MS SQL&amp;quot; )</description><pubDate>Fri, 29 Mar 2002 21:42:00 GMT</pubDate><dc:creator>omega</dc:creator></item></channel></rss>