What is a Procedure ?
Answers were Sorted based on User's Feedback
Answer / guest
Procedure is a stored database object and can be called
when is required. Procedure can have three parameters
IN,INOUT,OUT .IN is default parameter in a Procedure.
Ideally Procedure doesn't return a value but if required
same can be achieve throug OUT Parameter.
Syntex is :
CREATE OR REPLACE PROCEDURE <<Procedure Name>>
(<<PARAMETERLIST DATATYPE>>
IS
BEGIN
<<Code Here>>;
END <<Procedure Name>>;
In procedure arguments datatype size is not required.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / raju.r
It's set of pre-compiled set of SQL statements. no need for
compile the procedure again and again..
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shivashanker
Procedure is named pl/sql block or sub-program used to manipulated the data within the databse.OR It is used to perform some action within the databse
| Is This Answer Correct ? | 0 Yes | 0 No |
What is oracle and pl sql?
What is a natural join?
How to load data with sql*loader?
What is sql performance tuning?
Can two tables have same primary key?
How delete a row in sql?
how to saw triggers output in pl/sql database?
what is HASH join?
if we give update table_name set column_name= default. what will happen? its given in pl sql block.what will hapen?
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...
What is a primary key example?
I want to know last five transactions or records from emp table, from now?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)