Link to home
Start Free TrialLog in
Avatar of dsoderstrom
dsoderstrom

asked on

Problem importing Access table into SQL Server

I am trying to import an Access table into SQL Server using the SQL Server Import and Export Wizard.
I created the SQL Server table using the same field names that are in the access table.
After selecting the Source and Destination tables in the wizard I get the message "Found 7 unknown column type conversion(s)".  The seven fields are all text fields in access that I am mapping to nvarchar fields in SQL server.   There are other text fields that map successfully.  Can  anyone tell me what my problem might be?
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

You don't need to create a table before. The Import/Export wizard will do that for you and give suggestions for the data types. Do that to see what the wizard suggests for those 7 columns. You can change the data types during the process.
Are the suspect fields identified by SQL Server?

Also make sure that none of your Access fields are "Access Only" datatypes:
ex: Lookup Fields, multivalued fields, or even fields formatted as "Rich Text" (HTML)

JeffCoachman
Avatar of dsoderstrom
dsoderstrom

ASKER

when I try creating the SQL table using the wizard it shows a data type of -1 for these fields. It lets me change the type to nvarchar with a size of max.  It does not allow me to change the size to the appropriate length.
Try varbinary(max).
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for point me to the SSMA. I worked perfectly.