Link tables SQL Server 2012

How do I create linked tables from text files in SQL server 2012?
LVL 1
HRISTeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Link, you don't.

You can import text files into SQL Server using either...
BULKINSERT in T-SQL,
The import wizard (In SSMS right-click on Database, Tasks..., Import Data, and follow the prompts), or
Create your own SSIS package to perform the import.
0
HRISTeamAuthor Commented:
I was thinking more like:

http://www.users.drew.edu/skass/sql/TextDriver.htm

Problem is I don't have the Jet 4 driver in SQL 2012 (64 bit) and not sure where to get the correct driver.
0
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
>SQL Server provides several solutions for importing and exporting text files.
Nope.  The article refers to importing and exporting, not linking.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

HRISTeamAuthor Commented:
"It shows how to connect a directory of text files as a linked server and includes a practical example."
0
HRISTeamAuthor Commented:
http://akawn.com/blog/2012/01/

Enabled the ‘Allow inprocess’ option for the Microsoft.ACE.OLEDB.12.0 provider.
0
HRISTeamAuthor Commented:
I attempted to link an excel file with no luck. I have had this working on a 32 bit SQL Server so I think that might be part of the issue.
0
HRISTeamAuthor Commented:
I have been working on this for over a week and still can't get this process to work.
0
HRISTeamAuthor Commented:
Tried ODBC system DSN and still no luck.
0
HRISTeamAuthor Commented:
I spent over week messing with this issue with no real help troubleshooting my Linked Server issue so I made some basic documentation in the event someone else has the same problem.  See document at the link below:

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_28248137.html#a39555782
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HRISTeamAuthor Commented:
Answered the posted question unlike all other responses.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.