Re: SQL and Scientific Notation



Do you have schema.ini file in C:\Data\Delphi\Data? If not, add it and
define format of LargeImport.txt file there. Look
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp
for format of schema.ini.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Jeff" <jhoward@xxxxxxxxxxxx> ñîîáùèë/ñîîáùèëà â íîâîñòÿõ ñëåäóþùåå:
news:45ba4caa$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Here is my sql statement:
INSERT INTO [Temp_Import] ([Item
Number],[Description],[User1],[User2],[User3],[User4],[User5],[User6],[User7],[User8])
SELECT [Item],[Desc],[u1],[u2],[u3],[u4],[u5],[u6],[u7],[u8] FROM [Large
Import.txt] IN "C:\Data\Delphi\Data\" "Text;"

The import value for Item Number is: 12345678901234567890123456789012345
and Temp_Import is an Access table with the Item Number field being
defined as a text field 35 characters long. When I executed the sql
statement I get the following value in my Item Number field:
1.23456789012346E+34

Does anyone know why the sql statement is switching the data being read
from the text file to scientific notation?



.



Relevant Pages

  • Re: SQL Compare Date Fields using Where
    ... You cannot debug syntax issues with sql statements without knowing what the ... display the sql statement constructed by your code. ... This enables you to, if the syntax error still escapes you, copy the sql ... US format: m/d/yyyy ...
    (microsoft.public.scripting.vbscript)
  • Populating 10G XE table with time AND date through VB.Net
    ... This SQL statement delivered through VB.Net works fine: ... This is fair enough - presumably because the NLS_TIME_FORMAT is wrong format. ... If I run exactly same statement from within Oracle GUI SQL window I get: ...
    (comp.databases.oracle.server)
  • Re: VB & SAL Date/Time Problem?
    ... site you can format it as YYYYMMDD. ... > I've written an ASP app that requires users to login - normal stuff. ... > following SQL statement: ...
    (microsoft.public.sqlserver.programming)
  • RE: VB & SAL Date/Time Problem?
    ... procedure and call it using ADO command object) you can format the datetime ... What I've done is created a new table in SQL that inserts ... > following SQL statement: ...
    (microsoft.public.sqlserver.programming)
  • Re: ALTER TABLE column
    ... Vassiliev V. V. ... What is wrong with this SQL statement? ... ADOQuery1.SQL.Add('ALTER TABLE Sample ADD COLUMN Connection text(4)'); ...
    (borland.public.delphi.database.ado)