Answer Posted / hr@tgksolutions.com
A stored procedure is a precompiled collection of SQL statements stored in the database. It improves performance and security by reducing query execution time.
Example:
CREATE PROCEDURE GetUsers()
AS
BEGIN
SELECT * FROM Users;
END;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
What is group by in sql?
Explain scalar functions in sql?
What is cte?
What steps server process has to take to execute an update statement?
Is pl sql a programming language?
What is an emotional trigger?
how many sql ddl commands are supported by 'mysql'? : Sql dba
What is the starting oracle error number? What is meant by forward declaration in functions?
What is the use of double ampersand (&&) in sql queries? Give an example
Can you load data into multiple tables at once? : aql loader
Which kind of parameters cannot have a default value in pl sql?
How many types of cursors are available in pl/sql?
What is difference between function and trigger?
what is the difference between a having clause and a where clause? : Sql dba