title: Get last row data after insert into using Delphi AdoQuery
body: <p>In Delphi 2007 using ADOQuery
  when i add a row into a table using insert into 
  how do i get last row?  </p>
  
  <p>i'm adding row with this.</p>
  
  <pre><code>QD_TEMP1.close;
  QD_TEMP1.sql.Clear;
  QD_TEMP1.SQL.Add('insert into s_hasta_Kabul (Protokol,Muay_ID,Ocak_Kod,Tc_Kimlik_No)  ');
  QD_TEMP1.SQL.Add('values (:Protokol,:Muay_ID,:Ocak_Kod,:Tc_Kimlik_No) ');
  QD_TEMP1.Parameters.ParamByName('Protokol').Value := 0;
  QD_TEMP1.Parameters.ParamByName('Muay_ID').Value := 2;
  QD_TEMP1.Parameters.ParamByName('Ocak_Kod').Value := 3;
  QD_TEMP1.Parameters.ParamByName('Tc_Kimlik_No').Value := 4;
  QD_TEMP1.ExecSQL;
  </code></pre>
  
  <p>How do i get last added row after execsql ?</p>