Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I wish to import the results of a sql stored procedure into Excel. The
stored procedure has two date parameters yyyy-mm-dd and an interger subscription id parameter. The user needs to be able to change the dates and subscription id. I haven't been able to set the import up without putting in fixed dates and a subscription id as Microsoft Query doesn't allow parameters to be set up if the query can't be represented geographically e.g. exec dbo.sp_AutomatedStatsByMonth @DateFrom='2008-05-01', @DateTo='2008-05-31', @SubscriberID='4603345' If I change the parameters to '?' the error returned is - Error converting data type varchar to datetime. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I import SQL Stored Procedures into Excel? | Excel Discussion (Misc queries) | |||
How to connect Excel to stored procedures in SQL database? | Excel Discussion (Misc queries) | |||
How to connect Excel to stored procedures in SQL database? | Excel Discussion (Misc queries) | |||
Call SQL Server Stored Procedures with parameters, | Excel Programming | |||
Running sql stored procedures from Excel | Excel Discussion (Misc queries) |