function can return value ,procedure also return value through
out parameter then what is the difference?
Answers were Sorted based on User's Feedback
Answer / dinakar
Though a procedure returns a value through OUT parameter,
it cannot be used in a SELECT statement. Whereas a function
can be used in a SELECT statement.
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / damodharan
function should always return only one value
but procedure may return a value value it may one or more
than one value
Is This Answer Correct ? | 1 Yes | 0 No |
Which is faster joins or subqueries?
How do you delete a table?
What are local and global Indexes and where they are useful.
What is the difference between numeric and autonumber?
what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?
Differentiate between %type and %rowtype attribute in Oracle PL/AQL programming ?
why not null constraint showing its constraint type as 'c'
What are the indexing methods?
diff b/w function and procedure?
What is restrict in sql?
What is difference between nchar and nvarchar?
what is the difference between union and union all
14 Answers IBM, Luxoft, Oracle,