I have a table as follows:
A NO Balance [decimal (16,5)]
------ ---------------- ------
18.00 001000000000000 -37.982
19.00 002000000000000 -17.656
In the Query analyzer when I try:
SELECT * FROM TABLE1
A NO Balance [decimal (16,5)]
------ ---------------- ------
18.00 001000000000000 -37.98
19.00 002000000000000 -17.66
I need the query analyzer to format them as they are in the tables.
Help please.it's weird
it's if you round up the balance data
try this
select convert(decimal(16,5),balance)|||Did not work! Same results!!!
Originally posted by Karolyn
it's weird
it's if you round up the balance data
try this
select convert(decimal(16,5),balance)|||are you sure that Balance is really stored as -37.982|||Yes, I am sure
Originally posted by Karolyn
are you sure that Balance is really stored as -37.982|||what is you're max precision ?
SELECT @.@.MAX_PRECISION|||38.0
Originally posted by Karolyn
what is you're max precision ?
SELECT @.@.MAX_PRECISION|||where do you see the data -37.982
?|||From the Enterprise Manager
Originally posted by Karolyn
where do you see the data -37.982
?|||SET NUMERIC_ROUNDABORT on
SET ARITHABORT ON
SELECT * FROM TABLE1
does an error occur ?
are you REALLY only doing Select * from Table1 ?|||No error occured,
I am sure 100% that I am doing only a select *!!
Originally posted by Karolyn
SET NUMERIC_ROUNDABORT on
SET ARITHABORT ON
SELECT * FROM TABLE1
does an error occur ?
are you REALLY only doing Select * from Table1 ?|||try contacting BlindMan or Breitt Keiser
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment