Give the structure of the function ?
Answers were Sorted based on User's Feedback
Answer / kiran
CREATE [OR REPLACE] FUNCTION function_name
[(parameter_name [IN | OUT | IN OUT] type [, ...])]
RETURN return_datatype
{IS | AS}
BEGIN
< function_body >
Return value()
END [function_name];
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / tulsi
FUNCTION name (argument list .....) Return datatype is
local variable declarations
Begin
executable statements
Exception
execution handlers
End;
Is This Answer Correct ? | 2 Yes | 2 No |
What is sql used for?
Can we use the cursor's to create the collection in PL/SQL?
What is scope of pl sql developer in future?
What is primary key and foreign key with example?
how to eliminate null values in a column i.e table vlaues 1 2 3 NULL 3 4 1 5 NULL i want output like this 1 2 3 3 4 1 5 i dnt want to use nvl is null and i dnt want replace the NULL value with any value i.e nvl(col,o);
What are different types of sql?
How will you a activate/deactivate integrity constraints?
Explain the rollback statement?
How to connect a sql*plus session to an oracle server?
..........refers to the disk mirroring
How do I find duplicates in a single column in sql?
Can we use loop in sql?