How to Debug a Stored Procedure?

Answer Posted / swetha

Using PRINT command in stored procedure.
use print to check if the parameter values are fine.
When the stored procedure is executed then print will show
the output of those parameters/variables.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1469


what is raid? : Sql server database administration

557


what are the different types of SSRS reports?

112


What is a filestream?

558


What is the difference between primary key and unique constraints?

514






What are the advantages of log shipping?

563


If any stored procedure is encrypted, then can we see its definition in activity monitor?

549


What are sql azure firewall rules?

85


What are key constraints?

518


Describe in brief databases and sql server databases architecture.

528


how can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role? : Sql server administration

566


What is the difference between function and stored procedure in sql server?

488


What do you need to connect php to sql server?

545


What is the recovery model? List the types of recovery model available in sql server?

488


Is it ok to shrink transaction log?

519