April 5, 2006 at 11:38 pm
Sql Server 2005's Export Wizard to Access db converts all varchar(n) fields to memo. How can I change this so it exports it as text(n)? All of the varchar fields are less than 255 in width.
April 7, 2006 at 6:52 am
Just tried this out. In the SQL Export Wiz, on the "Select Source Table and Views", click the "Edit" button next to the table that contains a varchar. Change the field type of all your varchar fields from Long Text to varchar. Then when it is exported in Access, it will make these fields text fields (rather than memo)
Norene Malaney
April 7, 2006 at 8:32 am
That worked. Thank you. However, is there a way to change SQL Server's internal datatype mapping of exporting to Access so that when it sees SQL Server's varchar(n) it will always choose text(255) or whatever the max for text is in Access instead of "LongText". I have about a 100 of these exports to do (different tables) and I don't want to edit the map on each one in the wizard. "Memo" is a pain in Access since you can't join on it nor sort it.
April 7, 2006 at 9:39 am
Glad that helped. Sorry though, I don't know the answer to:
Perhaps someone else might.
GOOD LUCK!
Norene
Norene Malaney
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply