Dear all,
We have a string (float value) (komma as decimal sign) and we want this string into a floating field.
We tried:
insert into DB (floatField) values (CONVERT(DECIMAL('12,1')))
insert into DB (floatField) values (cast('12,1' as double))
insert into DB (floatField) values (cast('12,1' as decimal))
These examples doesn't work, can someone give the right syntax?
Nice regards,
Michelle.
We have a string (float value) (komma as decimal sign) and we want this string into a floating field.
We tried:
insert into DB (floatField) values (CONVERT(DECIMAL('12,1')))
insert into DB (floatField) values (cast('12,1' as double))
insert into DB (floatField) values (cast('12,1' as decimal))
These examples doesn't work, can someone give the right syntax?
Nice regards,
Michelle.