Article View: alt.comp.databases
Article #86Re: HELP!!! sql select command output
From: Blair Kenneth Adamache
Date: Fri, 26 Mar 1999 00:00
Date: Fri, 26 Mar 1999 00:00
47 lines
2280 bytes
2280 bytes
Handling of large floating values may differ by database vendor. With DB2 Universal Database 5.2, I created such a table as: db2 create table bignumb (col1 float(10)) and selected the large value using the BIGINT function: db2 select bigint(col1) from bignumb I could also created it with BIGINT: db2 create table bignumb (col1 bigint) Chris Reddy wrote: > Hi All, > > I'm performing a select statement on a database and the field that I am > querying on contains a numeric value in the billions, and my output is > displayed in scientific format. > > select f_docnumber from doctaba > > The return output is: > > 3.000E+09 > 3.000E+09 > 3.000E+09 > > I want to view the number which would be > 3000002254 > 3000002255 > 3000002256 > > What is the select condition I need to use in order to view the number how I > want. > > I am stumped. > > Any help would be greatly appreciated. > > You can e-mail me at iiidana@ix.netcom.com or post to the group. > > Thanks in advance, > > Chris Reddy
Technical Details
Message-ID:
<36FBA83B.9ADD5BAE@ca.ibm.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7dbqr5$2nm$1@news-1.news.gte.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 122e4d,cfaa4b53dc1c492c X-Google-Attributes: gid122e4d,public X-Google-Thread: f99a8,cfaa4b53dc1c492c X-Google-Attributes: gidf99a8,public X-Google-Thread: 11355a,cfaa4b53dc1c492c X-Google-Attributes: gid11355a,public X-Google-Thread: fc5c9,cfaa4b53dc1c492c X-Google-Attributes: gidfc5c9,public X-Google-Thread: 10a90d,cfaa4b53dc1c492c X-Google-Attributes: gid10a90d,public X-Google-Thread: 104de1,cfaa4b53dc1c492c X-Google-Attributes: gid104de1,public X-Google-Thread: fdf39,cfaa4b53dc1c492c X-Google-Attributes: gidfdf39,public X-Google-Thread: fa4f9,cfaa4b53dc1c492c X-Google-Attributes: gidfa4f9,public From: Blair Kenneth Adamache <adamache@ca.ibm.com> Subject: Re: HELP!!! sql select command output Date: 1999/03/26 Message-ID: <36FBA83B.9ADD5BAE@ca.ibm.com> X-Deja-AN: 459375379 Content-Transfer-Encoding: 7bit References: <7dbqr5$2nm$1@news-1.news.gte.net> Content-Type: text/plain; charset=us-ascii Organization: IBM Canada Laboratory Mime-Version: 1.0 Newsgroups: alt.comp.databases,bit.listserv.sqlinfo,comp.database,comp.databases,comp.databases.ms-sqlserver,comp.databases.oracle.misc,comp.databases.oracle.server,ncr.databases.oracle