dbTalk Databases Forums  

Access memo field to Varchar

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


Discuss Access memo field to Varchar in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jerry J
 
Posts: n/a

Default Access memo field to Varchar - 06-22-2006 , 08:16 PM






I'm trying to import data from an Access database to a SQL Server database. I
am using SQL Server 2005 Integration Services. The tables already exist in
the SQL server database. I am having trouble with converting the memo fields
(unicode text) to the varchar fields in SQL Server. How can I use a data
conversion object to do the conversion?

Your help will be appreciated.


--
Jerry J

Reply With Quote
  #2  
Old   
Paul Shapiro
 
Posts: n/a

Default Re: Access memo field to Varchar - 06-23-2006 , 04:56 PM






You can add a Data Conversion transform and change the datatype from unicode
string to ansi string. But that doesn't solve your current problem because
the Access memo is a Unicode stream, not a string. I couldn't find a
conversion that worked, so I gave up and made the sql server datatype either
nvarchar(max), which doesn't need any conversion, or varchar(max) which
needs to be converted from Unicode stream to ansi stream.

I found the change from DTS implicit datatype conversions to SSIS requiring
explicit conversions to be a step backwards.

Paul Shapiro

"Jerry J" <JerryJ (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm trying to import data from an Access database to a SQL Server
database. I
am using SQL Server 2005 Integration Services. The tables already exist in
the SQL server database. I am having trouble with converting the memo
fields
(unicode text) to the varchar fields in SQL Server. How can I use a data
conversion object to do the conversion?

Your help will be appreciated.



Reply With Quote
  #3  
Old   
Peter
 
Posts: n/a

Default RE: Access memo field to Varchar - 06-26-2006 , 04:40 PM



I've had some success with converting Access memo fields to SQL Server Text
type fields.

"Jerry J" wrote:

Quote:
I'm trying to import data from an Access database to a SQL Server database. I
am using SQL Server 2005 Integration Services. The tables already exist in
the SQL server database. I am having trouble with converting the memo fields
(unicode text) to the varchar fields in SQL Server. How can I use a data
conversion object to do the conversion?

Your help will be appreciated.


--
Jerry J

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.