title: DBIC generates an "Invalid precision" error for a primary key
body: <p>The table stores file names. The primary key is an auto-incrementing integer. A search using the result set works. And calling the <em>delete</em> method generates the following error message:</p>
  
  <pre><code>DBIx::Class::Relationship::CascadeActions::delete(): DBI Exception: 
  DBD::ODBC::st execute failed: [Microsoft][ODBC SQL Server Driver]Invalid 
  precision value (SQL-HY104) [for Statement "DELETE FROM tblComplaintAttachment 
  WHERE ( ID = ? )" with ParamValues: 1='8.4.9.3.0.'] at Dups.pl line 17
  </code></pre>
  
  <p>ID is the primary key. If I print ID, it shows <strong>84930</strong> - without the periods. Any ideas why <em>delete</em> generates the error?</p>
  
  <p>The database is SQL Server 2000. I am using DBIx::Class with Strawberry Perl under Windows XP.</p>