dbTalk Databases Forums  

error when using DTS in sql server 2000

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss error when using DTS in sql server 2000 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Wendy Elizabeth
 
Posts: n/a

Default error when using DTS in sql server 2000 - 09-28-2007 , 02:13 AM






I am getting the following error when I am trying to copy a text file to an
exsisting sql server 2000 table.

"Error during transformation 'directCopyxform' for row number 1234. Errors
encountered so far in this task: 1.
transformationcopy 'Direct Copyxform' conversion error: conversion invalid
for datatypes on column pair 14 9source column 'col014' (dbtype_str),
destination column 'lat' (dbtype_r8)).
When using the dts wizard and clicking on transformations, and clicking on
another tab called 'transformations'. After this, I click the option called
'transform information as it is copied to the destination, the is vbscript
code that looks like:
Can you tell me how to convert a string type to a real float number here
or somewhere else in the dts package?
function main()
dtsdestionation("lat")=dtssource("col014)
end function

Thanks!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.