?
Solved

Text exported from Sql server 7 truncated

Posted on 2014-10-31
7
Medium Priority
?
159 Views
Last Modified: 2014-11-03
Hi,
I'm migrating a legacy sql 7/VB app... Several Text fields defined length 16, hold plain and rtf tagged text variously.

It appears that the rich text field in the VB app successfully display the text,  plain or rtf,  at its full length as entered.

However when I export using Dts to Csv,  or access the SQL db using Access 2003 the text,  plain or in rtf tagged form,  truncated.

I've seen articles referring to a 255 character limit without specific syntax when storing text in SQL server older versions,  and wonder if same could apply to  export?

I've seen another article that refers to 1024 setting in odbc bindings,  but this seems inconsistent with Dts.

I've seen another article which refers to special characters causing text processing issues which would seem  relevant with the rtf tags being present.

It is possible to copy and paste the text using Windows clipboard..  But there are too many records to be practical.

Any guidance or suggestions gratefully received...
0
Comment
Question by:Ringah
[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
  • 4
  • 3
7 Comments
 
LVL 13

Expert Comment

by:Norm Dickinson
ID: 40415650
Perhaps you could export those fields to the new database using a different field type, such as a memo type of field?
0
 

Author Comment

by:Ringah
ID: 40415664
Thanks for the feedback Norm... The server doesn't seem to support memo,  too old,  char only seems to be 8000 bytes,  but user defined might run...
0
 
LVL 13

Accepted Solution

by:
Norm Dickinson earned 1500 total points
ID: 40415683
Or maybe export to a regular text file or RTF file and then import to the new database from the file?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:Ringah
ID: 40415690
Thanks Norm,  will try both..
0
 

Author Comment

by:Ringah
ID: 40419285
Turns out to be related to Dts.... Thanks for the pointer Norm,  if I hadn't have been using such an old version of SQL server you'd be spot on.
0
 
LVL 13

Expert Comment

by:Norm Dickinson
ID: 40419296
Thanks, Ringah. I hope it helped a little anyway. Feel free to accept the answer and award pointsif you don't mind and re-post the question with reference to what you tried in this question, if you need further information, as these questions do not get as much attention once we have interacted on them. You have an unlimited number of points and questions available as this is a time-based subscription. As experts, our only reward for helping - other than the satisfaction - is the point award for each question answered. See "The Experts" below - and then click on how to become an expert to see. You may have something to contribute and in doing so you may earn your membership here for free. It's worth looking into. Thanks and good luck!
0
 

Author Comment

by:Ringah
ID: 40419545
To expand,  and widen the horizons for anyone else who comes across similar problems,  for more recent versions of SQL migrating to a different file type,  whether larger or offering rtf support is probably the first course of action for anyone facing similar issues...

For older versions or where specific manipulation is required,  Dts packages offer a lot of options in both respects...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

There are some very powerful Dynamic Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a di…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

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