From: Jonathan C. Otsuka Date: Sat, 18 Aug 2012 13:51:24 +0000 (-0500) Subject: Revert "Adding DECIMAL_DIGITS to SQLServer size field for scale info: http://msdn... X-Git-Tag: v0.11013~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=28f5cc1897dd2764b2ab99c73f11ac4d553cefc4;p=dbsrgits%2FSQL-Translator.git Revert "Adding DECIMAL_DIGITS to SQLServer size field for scale info: msdn.microsoft.com/en-us/library/aa258832(v=sql.80).aspx" This reverts commit 7d970ab2f075db388df497e896510a971000b8ad. --- diff --git a/lib/SQL/Translator/Parser/DBI/SQLServer.pm b/lib/SQL/Translator/Parser/DBI/SQLServer.pm index 0906e8c..729b7ff 100644 --- a/lib/SQL/Translator/Parser/DBI/SQLServer.pm +++ b/lib/SQL/Translator/Parser/DBI/SQLServer.pm @@ -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);