How do I view a procedure in sql?



How do I view a procedure in sql?..

Answer / Veependra Singh

"View Procedure": To view the definition of a stored procedure, you can use the sp_help or SHOW CREATE PROCEDURE command. Here's an example using MySQL:

SHOW CREATE PROCEDURE CalculateAverage

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

what are rollup and cube in t-sql? : Transact sql

1 Answers  


i have a table with fields(id,name,accnt_type)and in account type are FD,SAVING,RD. Write a query to get How many number of People are in each type of Account?

6 Answers   Fidelity, IBM,


How exception handling is done in advance pl/sql?

1 Answers  


My select statement is not working as expected, So, to overcome from such issues what are the steps needed to be taken care?

2 Answers   CG,


What is the use of cursor ? how cursor allocate context area for executing the sql statement?

4 Answers   HCL,


how to decrement dates by 1 in mysql? : Sql dba

1 Answers  


Is nosql relational?

1 Answers  


List out the acid properties and explain?

1 Answers  


what is a record in a database ? : Sql dba

1 Answers  


i have a customer table. trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output. trans_id trans_amt debit_credit_indicator i want get highest credit amount and lowest credit amount and highest debit amount and lowest debit amount for each trans_id. pls give me answer. i want urgent

3 Answers  


Which one is the Best approach to put code, among Triggers and Procedures? Explain?

1 Answers   Sierra Atlantica,


What is indexing in sql and its types?

1 Answers  


Categories