select
'alter table '+ b.name +' alter column ' + a.name + ' decimal(18,6)'
from sys.columns a
join sys.objects b on b.object_id=a.object_id
where a.user_type_id=106
'alter table '+ b.name +' alter column ' + a.name + ' decimal(18,6)'
from sys.columns a
join sys.objects b on b.object_id=a.object_id
where a.user_type_id=106