SQL Stored Procedure in SSRS Report - stored-procedures

I have a SQL Stored Procedure that works great for one of our applications we use for cost reporting. I want to try and use the same SQL Stored Procedure in an SSRS report.
I am able to copy the the Stored Procedure into Report Builder with no issues, but I can never get any data to pull up. Wondering if edits need to be made to the Stored Procedure for it to work in SSRS? It does not pull any data. I am new to SSRS coding, etc. Any help would be appreciated.
Thanks!
When I enter data into Parameters, the SSRS report does not pull any data.
enter image description here
enter image description here

Related

How can I create a stored procedure in MS Access 2013 like in MS SQL Server?

So far, my own research shows two options:
CREATE PROCEDURE statement: Close, but limited to a single SQL statement in execution.
Create a Data Macro: Which is more similar to "Triggers" in MS SQL Server.
Is there another way other than the ones listed above?
Based on phadaphunk's answer here in another SO question:
Simulate a stored procedure using a function. I found a tutorial here. But I haven't tried this approach.
How to use SQL Server Stored Procedures with Microsoft Access using Pass Through Queries.
If you are using MS Access 2010 or above, stored procedures will be listed in the tables tab under Named Macros.
Hope this helps.

Possible to get access to SP

If I create a store procedure, named test, that contains lots of different columns from many different tables.
I wanna let 20 users to get access to the data with stored procedure via excel.
My question is:
Is it possible to make the user to get access only to the store procedure, test, only? Users shall not have access to table or view. Store procedure test only. I'm using SQL server 2008 R2 standard
http://msdn.microsoft.com/en-us/library/ms188371.aspx access to the single stored procedure and no permissions to the table.
Grant EXECUTE On [SpName] To [Principal]
There is no such concept as a read permissions to a table for a stored procedure. Stored procedure permissions are separate from other objects. If a user has permission to run a stored procedure, they can run it no matter what it does, even if they don't have permission to the underlying objects

How does a client refresh the data on a server

I developed an Client/Server application, using datasnap. I need to know how to refresh the data on the server whenever a client has updated a table. The reason being that when I run a query on the client, after I inserted records into a table, the new records do not reflect in the queries.
Im using a firebird db, with datasnap, developing in Delphi XE2
Put a TTimer control on the client form and specify refreshing time frequency, change interval value as your needs, for example:
procedure TForm1.Timer1Timer(Sender: TObject);
begin
table1.refresh;
end;
I would say, it also depends on tools you are using to write to DB.But, generally, with Firebird, you would Activate a Transaction and once update is done you would then Commit your changes. Prior to committing, no other client can see the new Changes no matter how many times they refresh. Once committed, my understanding would be to say, you would then Refresh you data by merely calling a SELECT command, as per your criteria.

How to profile a stored procedure DB2

I need a website or application that I can use to profile a stored procedure in a DB2 database.
Does anyone know of a way to do this?
you need IBM Data Studio http://www-01.ibm.com/software/data/optim/data-studio/

How to call stored procedure in crystal reports using C#

I am able to create a crystal report for a single table call from C#.\
But I have to call generic stored procedure or a single stored procedure. How can I do this?
Do we can acheive this using XML files also? I mean .. the details abt which table the SP is referring to and if I want to dump the data to excel sheet, which cells the data needs to be inserted.
I have XML for my tables also. Now I hav to call stored procedure in crystal reports.
Please suggest me doin this
Thank you,
Ramm
I'm not sure that I totally understand the question so I'll answer it the best I can.
Try this link to help you get started on what you are looking for.
http://www.beansoftware.com/ASP.NET-Tutorials/Using-Crystal-Reports.aspx
You can report off of xml data if needed by using the XML connection in the datasources screen.
Edit:
If are just trying to connect the report to an sp then you should be able to do it using the OLE DB ADO connector and SQL Server provider. Once connected you should be able to navigate down to the stored procedures and add the one you want as a selected table. Then simply add the fields to the report detail section and format it so that it exports properly to Excel. Hope this helps.

Resources