Unix Technical Forum

DTS Text Import Question

This is a discussion on DTS Text Import Question within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi All, I use DTs Wizard to import a text file into my MS SQLServer 2000 every month. This ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 06:16 AM
David Peake
 
Posts: n/a
Default DTS Text Import Question

Hi All,

I use DTs Wizard to import a text file into my MS SQLServer 2000 every
month. This text file contains 236 text fields and it's format never
changes.

The problem that i've found is that the DTS wizard sets each of the
destination fields to varchar (which is fine) but the size to 8000!!!!

I have to go through each one of the fields to reduce the size down to
255 ...... is there any way to change the default field size?

Cheers & Merry Christmas

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 06:17 AM
John Bell
 
Posts: n/a
Default Re: DTS Text Import Question

Hi

If you click on the transform button you can see the select source tables
and views dialog you can edit the size of the columns in the destination
table.

John


"David Peake" <nospam@nospam.com> wrote in message
news:1103536507.33462.0@despina.uk.clara.net...
> Hi All,
>
> I use DTs Wizard to import a text file into my MS SQLServer 2000 every
> month. This text file contains 236 text fields and it's format never
> changes.
>
> The problem that i've found is that the DTS wizard sets each of the
> destination fields to varchar (which is fine) but the size to 8000!!!!
>
> I have to go through each one of the fields to reduce the size down to
> 255 ...... is there any way to change the default field size?
>
> Cheers & Merry Christmas
>
> Dave



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com