title: Best practice for cftry/cfcatch
body: <p>In ColdFusion 8 or below, is the marked line in the right place?</p>
  
  <pre><code>&lt;cftry&gt;
    &lt;cfquery name="local.qry" datasource="myDatasource"&gt;
      SELECT ID FROM TableName
      WHERE ...
    &lt;/cfquery&gt;
    &lt;cfset local.result = local.qry.ID&gt;&lt;!--- this line! ---&gt;
    &lt;cfcatch&gt;
      &lt;cfset local.result = Variables.objDatabase.CatchError(cfcatch)&gt;
    &lt;/cfcatch&gt;
  &lt;/cftry&gt;
  
  &lt;cfreturn local.result&gt;
  </code></pre>