iifedy / aseisql

Automatically exported from code.google.com/p/aseisql
0 stars 0 forks source link

--<Menu\Table DDL>-- "numeric" and "decimal" #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Data types "numeric" and "decimal" has the same format.

Change in "stubs.sql":

Before:

if (@coltype = 'numeric') select @txt = @txt +
'('+convert(varchar(10),@prec)+','+convert(varchar(10),@scale)+')'

After:

if (@coltype in('numeric', 'decimal')) select @txt = @txt +
'('+convert(varchar(10),@prec)+','+convert(varchar(10),@scale)+')'

Original issue reported on code.google.com by zluis0@gmail.com on 7 Oct 2009 at 11:46

GoogleCodeExporter commented 8 years ago

Original comment by daggett....@gmail.com on 8 Oct 2009 at 4:01