title: ADODB Getting the column count
body: <p>I was reading through our code base at my company and I saw something that seemed like it could be done better. </p>
  
  <pre><code>$dbRow = $dbh-&gt;Execute("SELECT * FROM database.table LIMIT 1");
  $tableColumnCount = $dbRow-&gt;_numOfFields;
  </code></pre>
  
  <p>Is this the only way to get a column count using ADODB? It just seems silly to have to execute a query so you can ask the question. </p>