How to execute stored procedure parameter in crystal report?

Alone

I am use crystal report - 11 I want execute stored procedure with parameter using add command. I am tried below code-

exec sf02.gen_statement_data('MS0001','1-Nov-2013','15-Nov-2013')

but it fetch error invalid SQL statement. so please give me a solution for that.

A B

To call Stored Procedure from crystal report,

Set data source of report to Stored Procedure (DataBase Expert Wizard). That procedure must met thses requirement

1- You must create a package that defines the REF CURSOR (type of field that will be retrieved).

2- The procedure must have a parameter that is a REF CURSOR type. This is because CR uses this parameter to access and define the result set that the stored procedure returns.

3- The REF CURSOR parameter must be defined as IN OUT (read/write mode).

4- Parameters can only be input (IN) parameters. CR is not designed to work with OUT parameters.

5- The REF CURSOR variable must be opened and assigned its query within the procedure.

6- The stored procedure can only return one record set. The structure of this record set must not change, based on parameters.

7- The stored procedure cannot call another stored procedure.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to fix the parameter was not supplied on Crystal report after modifying stored procedure

From Dev

Passing stored procedure Parameter to Crystal Report in ASP.Net

From Dev

How do I fill and filter a dataset for a Crystal Report that comes from a Stored Procedure

From Dev

How to Execute Stored Procedure in MVC

From Dev

Create and execute stored procedure with parameter in SQL Server

From Dev

sending date range parameter from crystal to sql stored procedure

From Dev

How to execute a string result of a stored procedure in postgres

From Dev

How to execute a stored procedure multiple times

From Dev

How to Execute an Existing Stored Procedure in DocumentDB?

From Dev

how to execute stored procedure in cakephp 3?

From Dev

How to execute system stored procedure with entity framework

From Dev

How to execute a stored procedure directly in postgresql?

From Dev

How to execute Stored Procedure from Laravel

From Dev

How to execute a PowerShell file from stored procedure

From Dev

How to execute a stored procedure directly in postgresql?

From Dev

how to execute stored procedure in cakephp 3?

From Dev

Stored Procedure Parameters and Crystal Reports

From Dev

Execute stored procedure with a nullable parameter from SQL server management studio

From Dev

Which solution to execute the right stored procedure according to parameter

From Dev

Execute stored procedure with a nullable parameter from SQL server management studio

From Dev

Power BI. Execute SQL Server stored procedure with a user parameter

From Dev

Stored procedure with optional parameter that doesn't show in SQL Server Management Studio "execute stored procedure" or "script stored procedure"

From Dev

How to pass output parameter to a Stored Procedure?

From Dev

How to call a stored procedure with a parameter of type table

From Dev

how to get value of parameter and pass it to a stored procedure?

From Dev

How to pass output parameter to a Stored Procedure?

From Dev

SQL stored procedure: how to concatenate parameter value?

From Dev

How to ignore null parameter in a Stored Procedure Oracle

From Dev

How to use a numeric parameter in a stored procedure?

Related Related

  1. 1

    How to fix the parameter was not supplied on Crystal report after modifying stored procedure

  2. 2

    Passing stored procedure Parameter to Crystal Report in ASP.Net

  3. 3

    How do I fill and filter a dataset for a Crystal Report that comes from a Stored Procedure

  4. 4

    How to Execute Stored Procedure in MVC

  5. 5

    Create and execute stored procedure with parameter in SQL Server

  6. 6

    sending date range parameter from crystal to sql stored procedure

  7. 7

    How to execute a string result of a stored procedure in postgres

  8. 8

    How to execute a stored procedure multiple times

  9. 9

    How to Execute an Existing Stored Procedure in DocumentDB?

  10. 10

    how to execute stored procedure in cakephp 3?

  11. 11

    How to execute system stored procedure with entity framework

  12. 12

    How to execute a stored procedure directly in postgresql?

  13. 13

    How to execute Stored Procedure from Laravel

  14. 14

    How to execute a PowerShell file from stored procedure

  15. 15

    How to execute a stored procedure directly in postgresql?

  16. 16

    how to execute stored procedure in cakephp 3?

  17. 17

    Stored Procedure Parameters and Crystal Reports

  18. 18

    Execute stored procedure with a nullable parameter from SQL server management studio

  19. 19

    Which solution to execute the right stored procedure according to parameter

  20. 20

    Execute stored procedure with a nullable parameter from SQL server management studio

  21. 21

    Power BI. Execute SQL Server stored procedure with a user parameter

  22. 22

    Stored procedure with optional parameter that doesn't show in SQL Server Management Studio "execute stored procedure" or "script stored procedure"

  23. 23

    How to pass output parameter to a Stored Procedure?

  24. 24

    How to call a stored procedure with a parameter of type table

  25. 25

    how to get value of parameter and pass it to a stored procedure?

  26. 26

    How to pass output parameter to a Stored Procedure?

  27. 27

    SQL stored procedure: how to concatenate parameter value?

  28. 28

    How to ignore null parameter in a Stored Procedure Oracle

  29. 29

    How to use a numeric parameter in a stored procedure?

HotTag

Archive