Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Use "IN" Parameter Properly
How To Use "IN" Parameter Properly? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions
✍: FYIcenter.com
Here are the rules about IN parameters:
Here is good example of a procedure with an IN parameter:
SQL> CREATE OR REPLACE PROCEDURE WELCOME AS 2 SITE CHAR(80) := 'FYICenter.com'; 3 PROCEDURE WELCOME_PRINT(S IN CHAR) AS 4 BEGIN 5 DBMS_OUTPUT.PUT_LINE('Welcome to ' || S); 6 -- S := 'Google.com'; -- Not allowed 7 END; 8 BEGIN 9 WELCOME_PRINT('MySpace.com'); 10 WELCOME_PRINT(SITE); 11 END; 12 / SQL> EXECUTE WELCOME; Welcome to MySpace.com Welcome to FYICenter.com
2007-04-25, 5042👍, 0💬
Popular Posts:
What is NullPointerException and how to handle it? When an object is not initialized, the default va...
How to convert a Unix timestamp to a Win32 FILETIME or SYSTEMTIME? The following function converts a...
What will be printed as the result of the operation below: main() { int a=0; if (a==0) printf("Cisco...
How do you locate the first X in a string txt? A) txt.find('X'); B) txt.locate('X'); C) txt.indexOf(...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...