<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015963" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015963</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/command-object-vs-explicitly-created-recordset#comment-1092623</link>
    <description> &lt;p&gt;It seems these days everyone has an opinion on what is better regarding ADO practices, sometimes it&#039;s just more of a personal preference, other times there really is a better way. Here&#039;s my preferences:&lt;/p&gt;
&lt;p&gt;1) Stored Procedures are good (very good!), and should be used over in page queries all the time if possible. You gain an advantage in speed and power. I haven&#039;t used a query inside an ASP page for almost 2 years!&lt;/p&gt;
&lt;p&gt;2) Some people don&#039;t like the command object, but when you&#039;re dealing with stored procedures it&#039;s a neccesity. There are times when it&#039;s more efficient to use the command object over the recordset object, like when you&#039;re not returning more than a row of data. I never use recordset to update or insert data (unless it&#039;s a large amount), I just pass the parameters to my command object which then passes them to my stored procedure.&lt;/p&gt;
&lt;p&gt;3) Of course, there are times when you have to use recordsets, like when you&#039;re returning large amounts of data, or when you want to setup paging.&lt;/p&gt;
&lt;p&gt;4) If you&#039;re using a command object and a recordset object, then you can still specifit cache and page sizes.&lt;/p&gt;
&lt;p&gt;5) Try to use the OLEDB provider for all your database work, it&#039;s faster than using ODBC.&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Oct 2001 13:23:43 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1092623 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
