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: 663
Default How to connect Excel to stored procedures in SQL database?

Yes. This is possible using the VBA in Excel.

Note: Extracting and transferring data between Microsoft Database and SQL
Server is easier. But transfering data between database and Excel can be done
by writing code within Excel programming environment. Data in Excel requries
cleaning to meet database constraints.

Challa Prabhu

"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
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
i want to connect excel with sql server 2000 as database with macr khurram saddique Excel Discussion (Misc queries) 2 February 18th 05 11:09 AM


All times are GMT +1. The time now is 05:51 PM.

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

About Us

"It's about Microsoft Excel"