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 |
Can you have more than one trigger on a table?
What is meant by truncate in sql?
can we write stored function in out parameters? how to call through select statement? how to written more than one value plz give the exmple?
What is materialized view. What are different methods of refresh?
What are schema-level triggers?
What are different types of tables in sql?
I have a Employee table with columns ename,eid,salary,deptno. How to retrieve sum of salary for each deptno?
State some properties of relational databases?
Is sql harder than python?
Define sql delete statement.
I have the table like this S.No Name ID 01 Xyz 123 I want the result as 01Xyz123 How to write the query to retrieve the entire row data in a single column?
What are the two different parts of the pl/sql packages?