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 |
How does sql*loader handles newline characters in a record? : aql loader
Is it possible to create startup or shutdown trigger for on-schema?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
What is the mutating table and constraining table?
what is 'mysqlcheck'? : Sql dba
what is explain plan?
What are triggers and its types?
1.when will you use week refcursor and when will you use strong ref cursor ? 2.what is the use of sql trace..how do you use it ? 3.can you please send all the sql plus commands...like set line 6000....
How to run sql commands in sql*plus?
What is sql deadlock?
what is a composite primary key ? : Sql dba
What is the use of prepared statement?
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)