473,378 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Using DTS to move data to a new table with some datatype changes

I have a production application that I am building some upgrades using
a second (empty) copy the database. A few of the upgrades included
changing the datatypes of a few fields from varchar to int(all the
values in this column are already numbers)

I am not trying to move the data from the production database into the
blank database using DTS and the fields that had their datatypes
changed are getting dropped by dts.

Is there anyway to move this data easily through dts or through another
method and not have the fields with the datatype changes get dropped?

I have about 60 tables so it is not as simple as just copying and
pasting the data..

Jul 23 '05 #1
2 1375
Hi

I can't see why this would be happening. What you may want to try is using a
SQL Statement as the data source then you can cast the column to the new
datatype or possibly using the same datatype and issue an alter table
command afterwards or just changing your live table to start with!

John

<td*******@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I have a production application that I am building some upgrades using
a second (empty) copy the database. A few of the upgrades included
changing the datatypes of a few fields from varchar to int(all the
values in this column are already numbers)

I am not trying to move the data from the production database into the
blank database using DTS and the fields that had their datatypes
changed are getting dropped by dts.

Is there anyway to move this data easily through dts or through another
method and not have the fields with the datatype changes get dropped?

I have about 60 tables so it is not as simple as just copying and
pasting the data..

Jul 23 '05 #2
td*******@yahoo.com wrote:
I have a production application that I am building some upgrades using
a second (empty) copy the database. A few of the upgrades included
changing the datatypes of a few fields from varchar to int(all the
values in this column are already numbers)

I am not trying to move the data from the production database into the
blank database using DTS and the fields that had their datatypes
changed are getting dropped by dts.

Is there anyway to move this data easily through dts or through another
method and not have the fields with the datatype changes get dropped?

I have about 60 tables so it is not as simple as just copying and
pasting the data..


Check the source and destination tab in your transform data task. The
problem you described happened to me when I tried to migrate DTS
package. It had the old table as destination table.

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Peter | last post by:
Can anyone tell me how to change the data type of a field in a table created with a make table query? The field is a binary and must be changed to text. alternately does anyone know how to specify...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
0
by: Dave | last post by:
Tried posting in the Winform Forum without much luck, so posting here... After inserting a new data row to a DataTable that is bound to a datagrid, I am unable to change data in a row that is...
6
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
3
by: Eric | last post by:
When i run my query it transfer last 4 digits of account number from one table to another and its wrong. There are two tables one i use for parsing. Second thru query i use to move data from temp...
12
by: mantrid | last post by:
Hello Can anyone point me in the right direction for the way to read a text file a line at a time and separate the fields on that line and use them as data in an INSERT to add a record to a mysql...
1
by: raghudr | last post by:
Hi all, I am parsing an .xml file.My main intention is to retrieve the field value:- "Name Value" which is "rag" and store it in a List. Fot that i wrote code like this: //i am using...
3
by: raghudr | last post by:
Hi all, I am parsing a .xml file.My main intention is to retrieve the name value of node "Signal":- "Name Value" which is "rag". i want to store only the <signal"name value" that is only...
0
by: saadkhan | last post by:
I have a table named 'UnitsLocations' in which there are two columns, id of uniqueidentifier datatype and LocationXML of XML datatype. I just need to detect whether any changes have made in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.