0

Possible Duplicate:
Remove trailing zeros from decimal in SQL Server

I have a column DECIMAL(9,6) i.e. it supports values like 999,123456.

But when I insert data like 123,4567 it becomes 123,456700

How to remove those zeros in sybase SQL?

Using this didn't work!

Community
  • 1
  • 1
aF.
  • 64,980
  • 43
  • 135
  • 198

1 Answers1

1

Do it in your application/presentation layer. SQL is not the place to do cosmetic changes like dropping trailing zeroes.

JNK
  • 63,321
  • 15
  • 122
  • 138