title: @@ROWCOUNT in PostgreSQL 9.3
body: <p>I want to returns the number of rows affected by the last statement.</p>
  
  <p>Using Microsoft SQL Server 2008 R2 I do it this way:</p>
  
  <pre><code>SELECT * FROM Test_table;
  
  SELECT @@ROWCOUNT AS [Number Of Rows Affected];
  </code></pre>
  
  <p>Will gives:</p>
  
  <pre><code>Number Of Rows Affected
  -----------------------
  10
  </code></pre>
  
  <p>How about in PostgreSQL 9.3?</p>