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

Accessing a SP via ODBC

Status
Not open for further replies.

bartsimpson

IS-IT--Management
Jul 23, 2001
100
GB
I have written a stored procedure that I can run using
Code:
EXEC spMyProcedure 1,2
from query analyser. I need to access this procedure from MS Excel, passing the parameters. How do I do this ? I can't see the stored procedure using ODBC, even though I have given myself EXEC permissions. Then how do I set up Excel to pass the parameters ?
 

Can you verify that ODBC has a valid connection to SQL Server? Are you able to retrieve data via a sql statement?
 
I'm able to connect to the SQL server, and get data from views and tables. But I can't see any SPs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top