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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

import excel with stored procedure

Status
Not open for further replies.

hlybbi

Programmer
Mar 19, 2003
91
IS
is there a way to read an excel file into sql with a stored procedure

Best regards Hlynur
 
You need a connection to the Excel file, Hlynur. That's typically done through a DTS package. There's no native T-SQL function for connecting to an external data source.

DTS packages can be called through stored procedures. Have a look-see in this and other Forums for examples. (I personally recommend for the most experienced contributors, the largest knowledge repository, and the wildest T-SQL you've ever seen.)

Good luck,

Phil Hegedusich
Senior Web Developer
IIMAK
-----------
A priest, a lawyer, and a rabbi walk into a bar. The bartender looks up and says "What is this, a joke?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top