dbTalk Databases Forums  

Pervasive to MSSQL - Control Characters

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Pervasive to MSSQL - Control Characters in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Say
 
Posts: n/a

Default Pervasive to MSSQL - Control Characters - 12-14-2004 , 07:05 PM






I have a pervasive database that I am trying to import the data into MSSQL.

The are text columns in various tables that appear to be empty(Null) which
in fact contain the control character chr(0). I detrmined this when setting
up the table as a linked table in MS Access. I could I could only query
these fields to obtain the empty ones by using syntax similar to where field
= chr(0).

We were previously importing the data using .net, OdbcDataReader ect, this
copied the data accross in its original form, how ever due to performance we
are now using DTS.

With DTS we are using a TransformDataTask with the Pervasive Table as Source
and the MSSQL table as destination. The problem is we are loosing the value
of the control character, and getting a <NULL> value. What can I do to
bring the required value accross.


Paul








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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.