Importing Access memo fields to SQL Server 2000

Importing Access memo fields to SQL Server 2000

Post by Alex Ponc » Sat, 20 Jul 2002 02:16:30



Hello everyone...

I've been having lots of difficulties importing a memo
field into a SQL Server 2000 table. Since I need to
automate the process (it's not a one time thing) my
initial solution was to schedule a DTS package. I'm can
accomplish this with the exception of a memo field that is
contained on the Access source table. The DTS gives me
an "Unknown Error" regardless of the SQL table data type
that I relate the memo field to (varchar, text, nvarchar).
I've tried adding an ActiveX transformation that creates
an ADO connection to the databases but I simply don't have
access to the memo field. I get an error everytime.

Any help will be greatly appreciated.

AP

 
 
 

Importing Access memo fields to SQL Server 2000

Post by Allan Mitche » Sat, 20 Jul 2002 04:43:40


OK

Quick test

Load the Employee table from the Northwind sample mdb

CREATE TABLE [dbo].[Employees] (
        [EmployeeID] [int] NOT NULL ,
        [LastName] [nvarchar] (20) NOT NULL ,
        [FirstName] [nvarchar] (10) NOT NULL ,
        [Title] [nvarchar] (30)  NULL ,
        [TitleOfCourtesy] [nvarchar] (25)  NULL ,
        [BirthDate] [smalldatetime] NULL ,
        [HireDate] [smalldatetime] NULL ,
        [Address] [nvarchar] (60) NULL ,
        [City] [nvarchar] (15) NULL ,
        [Region] [nvarchar] (15) NULL ,
        [PostalCode] [nvarchar] (10) NULL ,
        [Country] [nvarchar] (15) NULL ,
        [HomePhone] [nvarchar] (24) NULL ,
        [Extension] [nvarchar] (4) NULL ,
        [Photo] [image] NULL ,
        [Notes] [ntext] NULL ,
        [ReportsTo] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

SQL Server 200 SP2

Works fine.

How about you ?

Allan

On Thu, 18 Jul 2002 10:16:30 -0700, "Alex Ponce"


>Hello everyone...

>I've been having lots of difficulties importing a memo
>field into a SQL Server 2000 table. Since I need to
>automate the process (it's not a one time thing) my
>initial solution was to schedule a DTS package. I'm can
>accomplish this with the exception of a memo field that is
>contained on the Access source table. The DTS gives me
>an "Unknown Error" regardless of the SQL table data type
>that I relate the memo field to (varchar, text, nvarchar).
>I've tried adding an ActiveX transformation that creates
>an ADO connection to the databases but I simply don't have
>access to the memo field. I get an error everytime.

>Any help will be greatly appreciated.

>AP

Allan Mitchell
www.SQLDTS.com

 
 
 

1. Importing Memo Fields from Access to SQL 7.0

Hi all,

I'm having problems trying to use the DTS Import Data to copy an Access
Database to SQL Server 7.0.

In any table that presents the Memo field in Access the DTS can't move
any content to the destination. I don't even need its value but I can't
go table by table excluding this field in the script that copy the
values. I'd probably ignore this collumn for each table that has it.

Another question is if I can program DTS to always see if there are new
tables in the Database an upsize all of them to the SQL Server.

Does anyone can help me ?

Thanx,

--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

2. SQLserver edit Recordset problem

3. DB2 access from Sun

4. memory resident tables

5. Import memo field data from access to SQL

6. Msg 512 on update

7. Importing Memo Fields from Access to SQL 7.0

8. Problems importing from Access 2000 to Sql Server 2000

9. Access 2000 to SQL Server 2000 using Import/Export Wizard or DTS

10. How to import an access 2000 query into sql server 2000

11. RichText, Memo Field, and SQL Server 2000