title: How to check a number of inserted/modified records in TADOCommand?
body: <p>I am using SQL Server database and after calling a simple SQL script I would like to know how many records were affected by last (or only) executed statement in a script.</p>
  
  <p>I cannot find the reference how to achieve this in Delphi's TADOCommand and I know SQL Server gives this information to provider. I am aware of workarounds like getting @@ROWCOUNT in another query, yet this gives some overhead and unnecessary complexity.</p>
  
  <p>Thanks.</p>