creating a stored procedure, which is an SQL concept, is done using CREATE FUNCTION or CREATE PROCEDURE which are SQL reserved keywords.
your problem's causes are, in bold hereafter :
I just want to create some reports and deploy them to the local reportserver for an intranet application by using reporting services.
I'd like to use the report designer to create my reports but it seems kind of confusing with the many ways you can get into the report designer and be offered different options thru the wizards.
Heres what I can do:
I can create a generic report by using this route: (from inside the visual studio 2005 ide):
File > New Project > Report Project Wizard and then I can set the datasource to my database table.
Next, I get to the Query Builder and I dont know how to hook up my sp as the query:
For my test query, I chose a table, selected all the fields in it and dragged them onto the report form.
But, the designer seems very limited: most of the items in the toolbox are grayed out: labels, etc.
Heres my sp:
What is the best way to accomplish what I want for my situation?
Thanks in Advance.
Im using sql server 2005 and visual studio 2005.
The good answer is to use standard SQL statements, tools and databases and not the items in
bold over there.
The easiest way is probably to use a real SQL99-compliant database system.