Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 7th, 2004, 01:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Row Maximum

Hello,

I am importing Excel data into a SQL Server database, and one of the fields is giving me an error stating that the field is trying to accept a value beyond the 8000 character range. I know that the data is no more than 1200 characters; I think it's because there is junk data in there. Does anybody know what might be causing this? Has anyone else encountered this with excel. We are talking A LOT of files, so I can't convert it to CSV...

Brian
__________________
Brian
 
Old October 7th, 2004, 05:08 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

What is the excel field data type you are exporting from excel and what is the data type for the column in your SQL table?

Jaime E. Maccou
Applications Analyst
 
Old October 7th, 2004, 08:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Brian,

Is that you are talking about "maximum row size" as your subject states, or this pertains to just one field? Coz, the max row size is 8060, beyond which you cannot insert data for a row.

Can you post the exact error here?

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrollbar in row of Datagrid Except Header Row Theone84 ASP.NET 2.0 Professional 0 August 11th, 2008 12:10 AM
How to get maximum value from database Manisha0605 .NET Framework 2.0 6 June 17th, 2007 12:50 PM
To retrieve a row by giving row number prad_a MySQL 1 March 22nd, 2007 11:20 PM
Read a column and Search Row by Row in another col AyatKh Excel VBA 2 January 26th, 2005 12:02 PM
Manage data row by row in datagrid Dragonist Classic ASP Databases 5 July 29th, 2004 04:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.