Connecting Tech Pros Worldwide Help | Site Map

SQL 2000 DTS tool - 256 char limit?

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 1st, 2008, 08:55 AM
Jim
Guest
 
Posts: n/a
Default SQL 2000 DTS tool - 256 char limit?

I'm using the DTS tool (generally called "Import and Export Data", two cogs)
to export a table to a text file. However, it seems to be truncating the
char(1024), in that it's only outputting the first 256 chars. Is this a
limit of the tool, or am I just doing something wrong? It's early and the
coffee hasn't kicked in yet...

I'm not altering any settings/transformations etc., it should be just a text
version of the table, warts and all.

Interestingly, Queary Analyser does the same thing in that it only returns
the first 256chars. I can understand that in QA, but in DTS it just seems
odd.

Jim
--
http://www.ursaMinorBeta.co.uk http://twitter.com/GreyAreaUK

"Sometimes when I talk to a Windows person about using a Mac,
I feel like I'm explaining Van Halen to a horse." Merlin Mann

  #2  
Old August 1st, 2008, 08:55 AM
Jim
Guest
 
Posts: n/a
Default Re: SQL 2000 DTS tool - 256 char limit?

On 2008-08-01, Jim <jim@magrathea.plus.comwrote:
Quote:
I'm using the DTS tool (generally called "Import and Export Data", two cogs)
to export a table to a text file. However, it seems to be truncating the
char(1024), in that it's only outputting the first 256 chars. Is this a
limit of the tool, or am I just doing something wrong? It's early and the
coffee hasn't kicked in yet...
>
I'm not altering any settings/transformations etc., it should be just a text
version of the table, warts and all.
>
Interestingly, Queary Analyser does the same thing in that it only returns
the first 256chars. I can understand that in QA, but in DTS it just seems
odd.
Okay, sorry, should have Googled first - short answer is "yes, it's a limit
of DTS". Solution is to use BCP instead.

Now I just need to get my head around BCP. Wish me luck.

Jim
--
http://www.ursaMinorBeta.co.uk http://twitter.com/GreyAreaUK

"Sometimes when I talk to a Windows person about using a Mac,
I feel like I'm explaining Van Halen to a horse." Merlin Mann
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.