Can we interchange parameters in procedure while calling



Can we interchange parameters in procedure while calling..

Answer / vidya

If you name the parameter then you can interchange
otherwise you cannot. Like in the following example the
first case is positional and you cannot interchange. In the
second one its named and you can interchange.

Regular OraDatabase.standproc(102,'RAM'); -- Positional
OraDatabase.standproc(empno=>102,ename=>'RAM'); --Named

OraDatabase.standproc(ename=>'RAM',empno=>102);

Is This Answer Correct ?    22 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How to convert lowercase letters to uppercase and uppercase letters to lowercase in a string. (ex, AbcdEfG should convert as aBCDeFg)

3 Answers   TCS,


how to delete duplicate rows from a specified table(only single table) how do you know which join is need to be used

11 Answers   UST,


What are transaction and its controls?

0 Answers  


List the differences between plsql - function & procedures

2 Answers   TCS, Verizon,


How can get second highest salary in sql?

0 Answers  






Does indexing improve query performance?

1 Answers  


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

0 Answers  


What is foreign key and example?

0 Answers  


Which type of cursor is used to execute the dml statement?

0 Answers  


How do you truncate?

0 Answers  


1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...

0 Answers   Satyam,


How delete a row in sql?

0 Answers  


Categories