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, 2648🔥, 0💬
Popular Posts:
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...
How To Look at the Current SQL*Plus System Settings in Oracle? If you want to see the current values...
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...