Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 92
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 140
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect Excel to stored procedures in SQL database? tskogstrom Excel Discussion (Misc queries) 1 July 3rd 07 09:40 AM
Can't see stored procedures in select data source windows tskogstrom Excel Discussion (Misc queries) 0 June 27th 07 12:18 PM
Running sql stored procedures from Excel in-over-his-head-bill Excel Discussion (Misc queries) 0 July 5th 06 06:30 PM
connect to access database and run a query in excel VBA Bob Excel Discussion (Misc queries) 0 April 25th 06 08:12 PM
connect a form to excel database Kathy Excel Discussion (Misc queries) 5 October 10th 05 06:17 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"