Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Excel Data > 255 Characters

Status
Not open for further replies.

grnzbra

Programmer
Mar 12, 2002
1,273
US
I have a database that imports data from an Excel spreadsheet by right clicking the database in Object Explorer and selecting Task > Import Data. I've run into a problem with a particular spreadsheet in which the user has written War and Peace in one of the cells, but it seems that all of the fields in the created tables are varchar(255). Is there any way to control the size of the fields created?
 
When importing go to field mapping and make this field varchar(max)

Borislav Borissov
VFP9 SP2, SQL Server
 
Is there any way to set that up as a default?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top