Article View: borland.public.cppbuilder.database.ado
Article #1486Re: error
From: Viatcheslav V. Vassiliev
Date: Thu, 01 Jul 2004 16:34
Date: Thu, 01 Jul 2004 16:34
32 lines
1910 bytes
1910 bytes
Limit your insert to one column, do it for every column and find which column has overflow. Check its data type. //------------------------------------------ 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) "James Peterson" <jpeterson@romanmealmilling.com> �������/�������� � �������� ���������: news:40e42d92$1@newsgroups.borland.com... > I am getting Arithmetic overflow error converting numeric to data type > numeric. > > I am using SQL that looks like the following. > > I would like to know why this is happening. so for future I will know what > to look for. > > insert into data > (ItemNumber,CupWeight,Moisture,Screen10,Screen18,Screen30,Screen60,Through,L > otNumber,SerializedDate,SerializedTime)values(10001,182,11.6,11.6,37,14.8,32 > .9,3.7,1152,1152,203000) > > > > >
Technical Details
Message-ID:
<40e43d28$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40e42d92$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,53ae61ba6014a623 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <40e42d92$1@newsgroups.borland.com> Subject: Re: error Date: Thu, 1 Jul 2004 20:34:48 +0400 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 213.234.218.42 Message-ID: <40e43d28$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1088699688 213.234.218.42 (1 Jul 2004 09:34:48 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail