Article View: borland.public.cppbuilder.database.ado
Article #2227Re: SQL Create Table with Double type field
From: Daniel
Date: Sun, 19 Oct 2003 23:44
Date: Sun, 19 Oct 2003 23:44
47 lines
2669 bytes
2669 bytes
Thanks for your help Viatcheslav, but unfortunately the data_type 'Float' doesn't work when using it with a MS Access database. I have been searching endlessly to find documentation for this, but can't seem to find anywhere where it clarifies the data_types available when operating with a MS Access database. the data_types I have been using so far (unsucessfully) are: Float, Double, Decimal(n,m), Long Integer, LongInt, Long. I have a feeling that I have to first set the field to Integer than somehow change it the type of integer to be a Double, but I can't seem to work out whether this theory is correct. If anyone is a wiz with MS Access and/or know of a book or web site that may assist in this area than I would more than greatful. "Viatcheslav V. Vassiliev" <support@oledbdirect.com> wrote in message news:3f8fafca@newsgroups.borland.com... > CREATE TABLE myTable(Field1 Float, Field2 Float) > > You may find info on column types in documentation for your DBMS. > > //---------------------- > Regards, > Viatcheslav V. Vassiliev > http://www.oledbdirect.com > The fastest way to access MS SQL Server, > MS Jet (Access) and Interbase (through OLEDB) > > > "Daniel" <admin@netcomm.com> �������/�������� � �������� ���������: > news:3f8f3925$1@newsgroups.borland.com... > > Does anyone know how to create a table with a Number of type Double as a > > field. > > > > CREATE TABLE mytable (Field1 data_type, Field2 data_type) > > > > what is the data_type for creating a field of type Double? > > > > Thanks > > > > > >
Technical Details
Message-ID:
<3f9321e3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f8f3925$1@newsgroups.borland.com> <3f8fafca@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,d7d2d8886914c651 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-10-19 17:04:20 PST From: "Daniel" <admin@netcomm.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3f8f3925$1@newsgroups.borland.com> <3f8fafca@newsgroups.borland.com> Subject: Re: SQL Create Table with Double type field Date: Mon, 20 Oct 2003 09:44:30 +1000 Lines: 49 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 202.174.228.150 Message-ID: <3f9321e3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066607075 202.174.228.150 (19 Oct 2003 16:44:35 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail