How can I debug a Stored Procedure?

Venkatesh K

I have hundreds of stored procedures in my SQL Server 2012 database.

From my c# code, I am calling one of the stored procedures which in turn calls another stored procedure and so on.

There is a failure in stored procedure execution. I need to debug it. For that I need to know what are the values which are sent as parameter when calling stored procedure inside another stored procedure .

I cannot alter the stored procedure, is there any way to Watch and StackTrace stored procedures?

Yes, I am using Visual Studio 2010

Developerzzz

For debugging stored procedure, you must be on the PC which has the database engine and then simple you put a break point on it, pass parameter value if it have parameters and then click on debug.

Debugging

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 I can debug a stored procedure with a VARRAY parameter?

From Dev

How I can transform a stored procedure to a view?

From Dev

How to debug stored procedure in VS 2015?

From Dev

How can I specify a Stored Procedure to be used in the SSRS Report Wizard?

From Dev

How can I make a Stored procedure return a bit value?

From Dev

how can i check return value of stored procedure in entity framework

From Dev

How can I ignore the resultset of a stored procedure in a trigger?

From Dev

How can I always return 3 values in this stored procedure?

From Dev

How can I set a lock inside a stored procedure?

From Dev

How can I serialize multiple executions of a stored procedure with the same arguments?

From Dev

How can I insert result from stored procedure to a new table?

From Dev

How can I get a list of all columns referenced in a stored procedure?

From Dev

How can I get output parameter to stored procedure in POCO?

From Dev

How can i use oracle object type in stored procedure?

From Dev

How can i set object type to out in oracle stored procedure?

From Dev

How can I implement MS SQL 2014 Stored Procedure

From Dev

how can I get cursor data with calling stored procedure in npgsql

From Dev

How can I use a variable within a stored procedure

From Dev

How Can I Create Record and Table of That Record Within a Stored Procedure?

From Dev

How can I send a null value to a stored procedure using SqlParameter?

From Dev

How can I make a Stored procedure return a bit value?

From Dev

Inside a stored procedure. How can I tell if an UPDATE worked?

From Dev

How can i call a packages function with an stored PL/SQL procedure?

From Dev

How can I capture the results of this Stored Procedure in a List<>?

From Dev

how can i check return value of stored procedure in entity framework

From Dev

How can I make a pseudo-dynamic Stored procedure / CTE

From Dev

How can i use oracle object type in stored procedure?

From Dev

How can I back up a stored procedure in SQL Server?

From Dev

How can i set object type to out in oracle stored procedure?

Related Related

  1. 1

    How I can debug a stored procedure with a VARRAY parameter?

  2. 2

    How I can transform a stored procedure to a view?

  3. 3

    How to debug stored procedure in VS 2015?

  4. 4

    How can I specify a Stored Procedure to be used in the SSRS Report Wizard?

  5. 5

    How can I make a Stored procedure return a bit value?

  6. 6

    how can i check return value of stored procedure in entity framework

  7. 7

    How can I ignore the resultset of a stored procedure in a trigger?

  8. 8

    How can I always return 3 values in this stored procedure?

  9. 9

    How can I set a lock inside a stored procedure?

  10. 10

    How can I serialize multiple executions of a stored procedure with the same arguments?

  11. 11

    How can I insert result from stored procedure to a new table?

  12. 12

    How can I get a list of all columns referenced in a stored procedure?

  13. 13

    How can I get output parameter to stored procedure in POCO?

  14. 14

    How can i use oracle object type in stored procedure?

  15. 15

    How can i set object type to out in oracle stored procedure?

  16. 16

    How can I implement MS SQL 2014 Stored Procedure

  17. 17

    how can I get cursor data with calling stored procedure in npgsql

  18. 18

    How can I use a variable within a stored procedure

  19. 19

    How Can I Create Record and Table of That Record Within a Stored Procedure?

  20. 20

    How can I send a null value to a stored procedure using SqlParameter?

  21. 21

    How can I make a Stored procedure return a bit value?

  22. 22

    Inside a stored procedure. How can I tell if an UPDATE worked?

  23. 23

    How can i call a packages function with an stored PL/SQL procedure?

  24. 24

    How can I capture the results of this Stored Procedure in a List<>?

  25. 25

    how can i check return value of stored procedure in entity framework

  26. 26

    How can I make a pseudo-dynamic Stored procedure / CTE

  27. 27

    How can i use oracle object type in stored procedure?

  28. 28

    How can I back up a stored procedure in SQL Server?

  29. 29

    How can i set object type to out in oracle stored procedure?

HotTag

Archive