Collections:
Call a Sub Procedure in Oracle
How To Call a Sub Procedure in Oracle?
✍: FYIcenter.com
To call a sub procedure, just use the sub procedure name as a statement. Here is another example of calling a sub procedure:
SQL> CREATE OR REPLACE PROCEDURE WELCOME AS
2 PROCEDURE WELCOME_PRINT(S CHAR) AS
3 BEGIN
4 DBMS_OUTPUT.PUT_LINE('Welcome to ' || S);
5 END;
6 BEGIN
7 WELCOME_PRINT('FYICenter');
8 END;
9 /
SQL> EXECUTE WELCOME;
Welcome to FYICenter
⇒ Define a Sub Function in Oracle
⇐ Define a Sub Procedure in Oracle
2018-10-26, 2267🔥, 0💬
Popular Posts:
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
How to execute statements in loops in SQL Server Transact-SQL? How to use WHILE ... loops? You can u...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
How To Convert Character Strings into Numeric Values in SQL Server Transact-SQL? Sometimes you need ...
How to set the current database in SQL Server? Once you are connected to the SQL Server, you should ...