How To Create a Stored Procedure?
A stored procedure is a procedure with a specified name and stored into the current database. If you want to create a stored procedure, you can use the CREATE PROCEDURE statement. The example script below creates a stored procedure:SQL> CREATE PROCEDURE Greeting AS2 BEGIN3 DBMS_OUTPUT.PUT_LINE(’Welcome to FYICenter!’);4 END;5 /Procedure created.
Related Questions
- When I create or edit a stored procedure or trigger through SQL Server Enterprise Manager, pressing the TAB key changes the context to each button. How can I indent my Transact-SQL statements?
- What is difference between stored procedure transformation and external procedure transformation?
- How To Create a Stored Procedure?