?
Solved

Dts Showing wrrong field types in destination tab

Posted on 2011-09-17
7
Medium Priority
?
310 Views
Last Modified: 2012-05-12
sql server 2008 r2

I'm trying to import a text file into a table and during the destination tab.
The destination field types are wrong. as shown in the pic below.

I have double checked the table in sql server and the fields in question are (nvarchar)
but they keep showing up as  date/time field types ? or some other field type..??

any help ?

Thanks
fordraiders
example-dts.png
0
Comment
Question by:fordraiders
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 22

Expert Comment

by:8080_Diver
ID: 36556473
Look at the data that you are importing.  Is it possible that the source data looks like a Time datatype?  Try taking a couple of rows from the source data and putting quotes around the columns in question.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 36556785
>>I have double checked the table in sql server and the fields in question are (nvarchar)<<
I suspect you are not looking at the right table or you have not selected the right table in your drop down box in the Transformation task.
0
 
LVL 3

Author Comment

by:fordraiders
ID: 36557682
ac, It is the right table. double checked.

I belive it is somewhere in the text file itself and will double check on that and get back
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 36557705
>>I belive it is somewhere in the text file itself and will double check on that and get <<
It can't be.  You are showing the Destination table.  This has nothing to do with the text file.
0
 
LVL 22

Accepted Solution

by:
8080_Diver earned 2000 total points
ID: 36559532
In an effort to satisfy any thoughts that you may be looking at the wrong table,could you please script the table (I am guesing that it would be CRS_CPIR_MASTER based upon your connection name) using Management Studio and as a CREATE?

0
 
LVL 3

Author Comment

by:fordraiders
ID: 36567088
The text file is pipe delimited...I found Pipes in the text file itself. So sql server thinks its creating a  new column and bombs out
0
 
LVL 3

Author Closing Comment

by:fordraiders
ID: 36578618
I actually created a new table and then scripted from there.
Thanks
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question