Unix Technical Forum

Data for source column is too large for the specified buffer size...

This is a discussion on Data for source column is too large for the specified buffer size... within the SQL Server forums, part of the Microsoft SQL Server category; --> Hello there, I have and small excel file, which when I try to import into SQl Server will give ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:30 PM
Pai
 
Posts: n/a
Default Data for source column is too large for the specified buffer size...

Hello there,

I have and small excel file, which when I try to import into SQl
Server will give an error "Data for source column 4 is too large for
the specified buffer size"

I have four columns in the excel file, one of the column contains a
large chunk of data so I created a table in SQL Server and changed the
type of the field to text so I could accomodate this field but still
no luck.

Any suggestions as to how to go about this.

Thanks in advance,
Srikanth pai
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:30 PM
Mystery Man
 
Posts: n/a
Default Re: Data for source column is too large for the specified buffer size...

spai@immunetolerance.org (Pai) wrote in message news:<5332f465.0401101239.441dc621@posting.google. com>...
> Hello there,
>
> I have and small excel file, which when I try to import into SQl
> Server will give an error "Data for source column 4 is too large for
> the specified buffer size"
>
> I have four columns in the excel file, one of the column contains a
> large chunk of data so I created a table in SQL Server and changed the
> type of the field to text so I could accomodate this field but still
> no luck.
>
> Any suggestions as to how to go about this.
>
> Thanks in advance,
> Srikanth pai


How are you importing? bcp, dts or what?
We are currently using bcp to import text fields without any problems.
I have used also used dts for importing text fields in the past.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 07:31 PM
Pai
 
Posts: n/a
Default Re: Data for source column is too large for the specified buffer size...

PromisedOyster@hotmail.com (Mystery Man) wrote in message news:<87c81238.0401111336.1216eb23@posting.google. com>...
> spai@immunetolerance.org (Pai) wrote in message news:<5332f465.0401101239.441dc621@posting.google. com>...
> > Hello there,
> >
> > I have and small excel file, which when I try to import into SQl
> > Server will give an error "Data for source column 4 is too large for
> > the specified buffer size"
> >
> > I have four columns in the excel file, one of the column contains a
> > large chunk of data so I created a table in SQL Server and changed the
> > type of the field to text so I could accomodate this field but still
> > no luck.
> >
> > Any suggestions as to how to go about this.
> >
> > Thanks in advance,
> > Srikanth pai

>
> How are you importing? bcp, dts or what?
> We are currently using bcp to import text fields without any problems.
> I have used also used dts for importing text fields in the past.


Hello there,

I am using DTS to import the excel file...

Thanks,
Srikanth Pai
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2008, 07:31 PM
Mystery Man
 
Posts: n/a
Default Re: Data for source column is too large for the specified buffer size...

spai@immunetolerance.org (Pai) wrote in message news:<5332f465.0401120742.d8bf3a4@posting.google.c om>...
> PromisedOyster@hotmail.com (Mystery Man) wrote in message news:<87c81238.0401111336.1216eb23@posting.google. com>...
> > spai@immunetolerance.org (Pai) wrote in message news:<5332f465.0401101239.441dc621@posting.google. com>...
> > > Hello there,
> > >
> > > I have and small excel file, which when I try to import into SQl
> > > Server will give an error "Data for source column 4 is too large for
> > > the specified buffer size"
> > >
> > > I have four columns in the excel file, one of the column contains a
> > > large chunk of data so I created a table in SQL Server and changed the
> > > type of the field to text so I could accomodate this field but still
> > > no luck.
> > >
> > > Any suggestions as to how to go about this.
> > >
> > > Thanks in advance,
> > > Srikanth pai

> >
> > How are you importing? bcp, dts or what?
> > We are currently using bcp to import text fields without any problems.
> > I have used also used dts for importing text fields in the past.

>
> Hello there,
>
> I am using DTS to import the excel file...
>
> Thanks,
> Srikanth Pai



Pai,

Some suggestions for you.

(1) Try using bcp.
(2) Try with a manually created file and see if you can work out the
differences between your sample file and the prblem file. It maybe
some data, eg quotes or control chars that are
(3) Send me email containing your schema and a sample data file
(cutdown to the 2meg hotmail limit) and I'll have a look.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-28-2008, 07:49 PM
Pai
 
Posts: n/a
Default Re: Data for source column is too large for the specified buffer size...

PromisedOyster@hotmail.com (Mystery Man) wrote in message news:<87c81238.0401121321.7bae3a6e@posting.google. com>...
> spai@immunetolerance.org (Pai) wrote in message news:<5332f465.0401120742.d8bf3a4@posting.google.c om>...
> > PromisedOyster@hotmail.com (Mystery Man) wrote in message news:<87c81238.0401111336.1216eb23@posting.google. com>...
> > > spai@immunetolerance.org (Pai) wrote in message news:<5332f465.0401101239.441dc621@posting.google. com>...
> > > > Hello there,
> > > >
> > > > I have and small excel file, which when I try to import into SQl
> > > > Server will give an error "Data for source column 4 is too large for
> > > > the specified buffer size"
> > > >
> > > > I have four columns in the excel file, one of the column contains a
> > > > large chunk of data so I created a table in SQL Server and changed the
> > > > type of the field to text so I could accomodate this field but still
> > > > no luck.
> > > >
> > > > Any suggestions as to how to go about this.
> > > >
> > > > Thanks in advance,
> > > > Srikanth pai
> > >
> > > How are you importing? bcp, dts or what?
> > > We are currently using bcp to import text fields without any problems.
> > > I have used also used dts for importing text fields in the past.

> >
> > Hello there,
> >
> > I am using DTS to import the excel file...
> >
> > Thanks,
> > Srikanth Pai

>
>
> Pai,
>
> Some suggestions for you.
>
> (1) Try using bcp.
> (2) Try with a manually created file and see if you can work out the
> differences between your sample file and the prblem file. It maybe
> some data, eg quotes or control chars that are
> (3) Send me email containing your schema and a sample data file
> (cutdown to the 2meg hotmail limit) and I'll have a look.




Thanks promised one for everything, what I did here was saved the
excel file as a .txt file and then imported the file sucessfully, I
have never tried bcp?

Thnaks,
Srikanth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-29-2008, 06:32 AM
chrispycrunch
 
Posts: n/a
Default Re: Data for source column is too large for the specified buffer size...


Pai wrote:
> PromisedOyster@hotmail.com (Mystery Man) wrote in message

news:<87c81238.0401121321.7bae3a6e@posting.google. com>...
> > spai@immunetolerance.org (Pai) wrote in message

news:<5332f465.0401120742.d8bf3a4@posting.google.c om>...
> > > PromisedOyster@hotmail.com (Mystery Man) wrote in message

news:<87c81238.0401111336.1216eb23@posting.google. com>...
> > > > spai@immunetolerance.org (Pai) wrote in message

news:<5332f465.0401101239.441dc621@posting.google. com>...
> > > > > Hello there,
> > > > >
> > > > > I have and small excel file, which when I try to import into

SQl
> > > > > Server will give an error "Data for source column 4 is too

large for
> > > > > the specified buffer size"
> > > > >
> > > > > I have four columns in the excel file, one of the column

contains a
> > > > > large chunk of data so I created a table in SQL Server and

changed the
> > > > > type of the field to text so I could accomodate this field

but still
> > > > > no luck.
> > > > >
> > > > > Any suggestions as to how to go about this.
> > > > >
> > > > > Thanks in advance,
> > > > > Srikanth pai
> > > >
> > > > How are you importing? bcp, dts or what?
> > > > We are currently using bcp to import text fields without any

problems.
> > > > I have used also used dts for importing text fields in the

past.
> > >
> > > Hello there,
> > >
> > > I am using DTS to import the excel file...
> > >
> > > Thanks,
> > > Srikanth Pai

> >
> >
> > Pai,
> >
> > Some suggestions for you.
> >
> > (1) Try using bcp.
> > (2) Try with a manually created file and see if you can work out

the
> > differences between your sample file and the prblem file. It maybe
> > some data, eg quotes or control chars that are
> > (3) Send me email containing your schema and a sample data file
> > (cutdown to the 2meg hotmail limit) and I'll have a look.

>
>
>
> Thanks promised one for everything, what I did here was saved the
> excel file as a .txt file and then imported the file sucessfully, I
> have never tried bcp?
>
> Thnaks,
> Srikanth


FYI all, I had problems exporting to SQL from Access. So by exporting
to text (from access) and then to SQL using DTS...it worked!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com