Ok,
so I know how to write a stored procedure, but after I write a procedure that does whatever I want it to do, how do I make it happen? I'm getting more familiar with SQL Server, at least this part and that part and this other part, but I'm missing the big picture. I'm coming from Access, where if I want lets say a report displayed, the report is based off a query which sends the info over. But as I understand it, views don't accept stored procedures. How are stored procedures generally used? I'm assuming that to use a sp you don't go into the Query Analyzer every time you want to run it. The only idea that I've had is that you use DTS in some way to pull the info from a sp at a given time and send it over to a web page, excel file, access file, etc. Sorry for the simplistic nature of my question, but I need to find some way to tie the pieces of SQL Server together. I know there could probably be over a million different responses depending on what I want to actually do, but I'm just looking for a general picture.
Thanks
so I know how to write a stored procedure, but after I write a procedure that does whatever I want it to do, how do I make it happen? I'm getting more familiar with SQL Server, at least this part and that part and this other part, but I'm missing the big picture. I'm coming from Access, where if I want lets say a report displayed, the report is based off a query which sends the info over. But as I understand it, views don't accept stored procedures. How are stored procedures generally used? I'm assuming that to use a sp you don't go into the Query Analyzer every time you want to run it. The only idea that I've had is that you use DTS in some way to pull the info from a sp at a given time and send it over to a web page, excel file, access file, etc. Sorry for the simplistic nature of my question, but I need to find some way to tie the pieces of SQL Server together. I know there could probably be over a million different responses depending on what I want to actually do, but I'm just looking for a general picture.
Thanks