Revert "Adding DECIMAL_DIGITS to SQLServer size field for scale info: http://msdn...
Jonathan C. Otsuka [Sat, 18 Aug 2012 13:51:24 +0000 (08:51 -0500)]
This reverts commit 7d970ab2f075db388df497e896510a971000b8ad.

lib/SQL/Translator/Parser/DBI/SQLServer.pm

index 0906e8c..729b7ff 100644 (file)
@@ -200,7 +200,7 @@ $table_info->{TABLE_TYPE},
                                           name        => $c->{COLUMN_NAME},
                                           data_type   => $c->{TYPE_NAME},
                                           order       => $c->{ORDINAL_POSITION},
-                                          size        => [$c->{COLUMN_SIZE},$c->{DECIMAL_DIGITS}],
+                                          size        => $c->{COLUMN_SIZE},
                                          ) || die $table->error;
                 $f->is_nullable($c->{NULLABLE} == 1);
                 $f->is_auto_increment($is_auto_increment);