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 the difference between implicit conversions and explicit conversions?
What is sqlcommand?
Why truncate is used in sql?
What is full form of rtm?
select top 3 sal from each dept?
17 Answers IBM, TCS,
What is a temporal data type?
What are the two parts of design view?
Is it important to partition hard disk?
Which sql statement is used to delete data from a database?
What is user define exception and example
What is clause?
Is primary key a clustered index?
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)