need help with a simple SQL update statement.
- by Tony
There's a field with type of varchar. It actually stores a float point string.
Like 2.0 , 12.0 , 34.5 , 67.50 ...
What I need is a update statement that remove the ending zeros of fields like 2.0 , 12.0 , change them to their integer representation , that is 2 , 12 ...,and leave 3.45 , 67.50 unchanged . How should I do this ? I am using oracle 10.