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 |
Which kind of parameters cannot have a default value in pl sql?
Explain Connect by Prior?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
What is bulk collect in pl sql?
cursor types? explain with example programs?
When do we use triggers?
How to execute OS(operating system) command from pl/sql?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
What does the argument [or replace] do?
Can we call a function containing dml statements in a select query?
What is user defined functions?
What is oracle sql developer?
Oracle (3253)
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)