ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to connect Excel to stored procedures in SQL database? (https://www.excelbanter.com/excel-discussion-misc-queries/148675-how-connect-excel-stored-procedures-sql-database.html)

tskogstrom

How to connect Excel to stored procedures in SQL database?
 
I need to get data from stored procedures in a sql database. I can't
see the sprocs in the list in "Select database source" window.

How can Iconnect to this information? If not with the user GUI, maybe
with vba?

Lets say the server name = Srv1, database name = DBTest1, user =
User1, pws = empty, sprocs = sptemp_report


Thankful to any help you can offer.
Kind regards
TSkogstrom


steve_doc

How to connect Excel to stored procedures in SQL database?
 
Hi

www.excelkb.com has a load of answers
Access
http://www.excelkb.com/article.aspx?...8&cNode=1I7C3V
http://www.excelkb.com/article.aspx?...5&cNode=1I7C3V

for SQL server or MySQl procedure is similar and although no direct examople
is given - withthe info there you shoud be able to piece it together

HTH


"tskogstrom" wrote:

I need to get data from stored procedures in a sql database. I can't
see the sprocs in the list in "Select database source" window.

How can Iconnect to this information? If not with the user GUI, maybe
with vba?

Lets say the server name = Srv1, database name = DBTest1, user =
User1, pws = empty, sprocs = sptemp_report


Thankful to any help you can offer.
Kind regards
TSkogstrom




All times are GMT +1. The time now is 09:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com