sql stored procedure optional parameter int code example
Example: sql stored procedure optional parameter
-- SQL Server
CREATE PROCEDURE MyProc
@Parameter VARCHAR (100) = 'DEF'
AS ......
-- Oracle
CREATE PROCEDURE MyProc (Parameter IN VARCHAR2 DEFAULT 'DEF')
AS ......