Article ID: 252439 - Last Review: October 31, 2003 - Revision: 3.2 PRB: Use of Math Operations with DTS and Numeric Data Types
This article was previously published under Q252439 SYMPTOMS
When you try to use ActiveX transformations with Microsoft SQL Server Data Transformation Services (DTS) where the source column is a numeric data type, the following error message can occur when you perform mathematical operations:
Error Code: 0 Error Source: Microsoft VBScript runtime error Error Description: Type mismatch CAUSE
Microsoft Visual Basic® Scripting Edition (VBScript) does not support the numeric data type and is unable to handle the mathematical operation of the two operands.
WORKAROUND
To work around this problem, use the Cast function to convert the unsupported data type into a data type that a script written in VBScript can support. You can use the following T-SQL script and VBScript to demonstrate the behavior:
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
