If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > QueryResults object and MS SQL 2000 float fields - please help!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-18-05, 18:07
DenisGr DenisGr is offline
Registered User
 
Join Date: Dec 2005
Posts: 1
Question QueryResults object and MS SQL 2000 float fields - please help!

Hi,

I have a MS SQL 2000 server database,
and in one of the tables a column is defined as float(8 byte (precision?) ).

When I use the QueryResults object on it
with getColumnDouble or even getColumnString
the returned result is rounded up to one digit after decimal point.

All the actual data if viewed through database manager
has 2 digits after decimal point, but they all retrieved as
rounded to one digit with QueryResults.

How can I get the actual values?

Your help is very much appreciated!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On