473,782 Members | 2,498 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What does this error message mean? "Error converting data type varchar to numeric"

AAPWM
3 New Member
Hello

My job is to extract data from my companies database with Crystal Reports, export that data to Excel, modify the data, save the data as "Text "tab delimited"", and upload to the database once again. Ive done this for close to a year and have never had this error message.

"Error converting data type varchar to numeric"

2255;2801
IMPORT LOG;IMPORT MAPPING INTERFACE;IMPOR T MAPPINGS;SQL - CALL IMPORT ROUTINES;_DB ERROR

Can anyone help?
Aug 3 '10 #1
5 5345
code green
1,726 Recognized Expert Top Contributor
I usually see this where I am using a string and a number in the same place.

A typical example would be where the data is usually a price,
but where the price is zero you are replacing with an empty string '' or something like 'No Price'
Aug 4 '10 #2
NeoPa
32,577 Recognized Expert Moderator MVP
I agree. You need to look at the data. Anything that indicates which record the error message is referring to is helpful.

I would also look for a number mixed with text, especially where this is just a number in other records. For instance, a currency column may contain a value for CAD (Canadian Dollars) generally, but a value for USD or GBP (pounds sterling) may be written as '32 USD' or '57 GBP'.
Aug 4 '10 #3
AAPWM
3 New Member
Thanks people, I do have a column containing weights of certain products. Some of the weights were "0.0". I will try the upload tonight, without the weight column.
Aug 4 '10 #4
AAPWM
3 New Member
Hello,

I have found that if you hit Ctrl + Shift in excel while you are typing in a cell, this will change some of your keyboards keys to weird symbols or letters with accents. I did this once without knowing how and decided to keep working with it, all i needed was a quotation sign. I do believe that is what gave me the error message.

Thanks again
Aug 16 '10 #5
NeoPa
32,577 Recognized Expert Moderator MVP
I can't say I know much about Ctrl-Shift usage with the keyboard, but I do know that some characters that look like quotes are often inadvertently used in place of the correct ones, and these cause various problems.

They normally show up when code is posted in here properly in the CODE tags though. Especially if you know what you are looking for. They often find their way in when people work with code or data from within a word processor or other such software. MS Word is specifically designed to use slanted quotes if it can, to make it more human-readable. This is fine for humans, but the characters themselves are not what they appear to be, which is critical when used as data or code.
Aug 17 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1812
by: Ian Lazarus | last post by:
Hello, Project = class library dll implemented in C++ as a managed wrapper around an unmanaged class, and a small project to consume it (shown at bottom). Running the consumer code results in the run time error message below, at start up, before any of the consumer code runs. What does the error message mean and how do I debug it? "An unhandled exception of type 'System.IO.FileNotFoundException' occurred
3
2119
by: Jeff Smythe | last post by:
I simply want to execute some code once when a new session of my ASP.NET application is started (I'm not using session state for anything else - just writing some data to a database). I thought that I could simply put the code in the Session_Start event procedure in Global.asax.cs, however, the event procedure executes and a new session is created every time any page is requested - not just for the first page requested....
1
334
by: Kevin Parkinson | last post by:
Hello Eveyone: I was wondering if someone can set me straight on this little problem I am having which I believe must be a configuration issue. Everytime VS.NET creates a new web form and puts this at the top: Page language="c#" Codebehind="MyWebForm.aspx.cs" AutoEventWireup="false" Inherits="MyProject.MyWebForm" ....when I hit the page on my server, I get this message:
5
6582
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no...
0
2422
by: rajmgopal | last post by:
Hello Everyone I am getting the following error when i try to insert a record into Sql Server 2005 from my VB 2005 application. sqlEx = {"Error converting data type numeric to numeric."} I checked for possible overflow exception, but did not encounter any. I have declared the values that i am trying to insert as DECIMAL data types in my VB code.
5
1891
by: dananrg | last post by:
I was messing around with the native ODBC module (I am using Python in a Win32 environment), e.g: import dbi, odbc ....and it seems to meet my needs. I'd rather use a module that comes natively with Python if it works (don't care about performance in this particular use case; just that it works). The only issue I've had so far is retrieving data from Oracle when an
0
2728
by: Ganesh Muthuvelu | last post by:
Hello, What is wrong with this simple schema. When I try to load it to a dataset it gives me an error, "Data type not defined" Thanks. ****************************** <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:tns="http://tempuri.org" targetNamespace="http://tempuri.org"
22
7213
by: kkk1979 | last post by:
I am not an experienced programmer. I am getting an error as "method or data member not found" when i entered the following code in buttonclick procedure of the toolbar. select case button.key case "btn1" msgbox "" case "btn2" msgbox "" end end select Can anybody help me in figuring out this problem
2
3015
by: santhanalakshmi | last post by:
hi, I have created a new user in mysql by the root user. user:san password:san when i login into mysql as a normal user : shell> mysql -u san -psan databasename
1
3693
by: mikr | last post by:
I'm new to jquery, and hoping it will make my client side coding more friendly (particularly with regards to ie). As is usually the case, I've got some code that works nicely in ff, but kicks out an "Expected Identifier" error. So, I've got two questions: What exactly does that mean? What is an "Identifier," particularly within the context of Internet Explorer and JScript? Why am I getting it? The code that is producing the error is...
0
9641
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.