Import tables from Excel or Access and data truncates
From: AJ (AJ_at_discussions.microsoft.com)
Date: 09/10/04
- Next message: Ilya Margolin: "Re: DTS Package Duplicate Checking"
- Previous message: Richard Wells: "Re: Default Data/Log File Directory"
- Next in thread: Allan Mitchell: "Re: Import tables from Excel or Access and data truncates"
- Reply: Allan Mitchell: "Re: Import tables from Excel or Access and data truncates"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Sep 2004 08:29:04 -0700
I have a table that I need to import into my SQL database. I have it in
Excel as well as Access. A couple of the columns are long strings of text
(5000-7000) characters. I see the data correctly in Excel or Access. The
SQL table that I'm trying to import into is defined as:
CREATE TABLE [dbo].[X_SS_Notes] (
[ID] [float] NULL ,
[Note1] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Note2] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Note3] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
Importing the table (via DTS) from either Excel or Access seems to go fine
(no error messages). However, when I look at the fields in SQL, the data
truncates around 255 characters.
Am I overlooking something simple?
- Next message: Ilya Margolin: "Re: DTS Package Duplicate Checking"
- Previous message: Richard Wells: "Re: Default Data/Log File Directory"
- Next in thread: Allan Mitchell: "Re: Import tables from Excel or Access and data truncates"
- Reply: Allan Mitchell: "Re: Import tables from Excel or Access and data truncates"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|