Re: changing data type or converting

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Andrew John (aj_at_DELETEmistrose.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 13:44:08 +1000

Enrico,

This is normally more a client side display thing, than a server side task.
SQL does have the round() function:

Select round(MyColumn,2) from MyTable

Regards
 AJ

"enrico martinelli" <anonymous@discussions.microsoft.com> wrote in message
news:1713a01c420f7$cf225080$a001280a@phx.gbl...
> Hello there!
>
> I have a column in a table with data type float, which
> has data such as 0.00, -3.9765600000, 56764.7664, etc...
>
> I just want this column to show positive or negative or
> zero with 2 decimal to the right.
>
> Any ideas are highly appreciated.
>
> thanks!



Relevant Pages

  • Re: Inserting new records into a large ADO table
    ... Regards, ... Vassiliev V. V. ... >> executes one SQL statement for each change in the CDS.Delta property. ... >> If you insert 1,000 rows the DSP will create and send to the server ...
    (borland.public.delphi.database.ado)
  • RE: Cannot install certificate...help?
    ... resource kit named setcert.exe to specify the certificate used by SQL ... Server for SSL encryption. ... Best Regards, ...
    (microsoft.public.sqlserver.security)
  • Re: Ignored Words Problem
    ... This is a common issue for SQL ... Server 2000 Full-text Search in that words that are contained in the ... where * represents a 3 letter language extension) ... Regards, ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Text search on separate machine
    ... KB article 240867 procedures require that SQL ... Server and the MSSearch service be installed on all/both machines. ... >> Regards, ...
    (microsoft.public.sqlserver.fulltext)
  • RE: Fulltext failure on a 2 node cluster
    ... Server full-text search resource online: "SQL Cluster Resource 'Full Text' ...
    (microsoft.public.sqlserver.clustering)