Solved

Text exported from Sql server 7 truncated

Posted on 2014-10-31
7
131 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
  • 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 500 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now