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 Data Concarency and Consistency?
What does rownum mean in sql?
wtite down triggr not any entry on Sunday
How can we overcome recursive triggers in SQL?
How to select all records from the table?
what is the correct way of selection statement a. select/from/table_name/orderby/groupby/having b. select/from/table_name/groupby/having/orderby
5 Answers HCL, JPMorgan Chase,
How to fetch records from a partitioned table?
HOW CAN I FIND MAX SAL ,ENAME FROM EMP TABLE.
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
Can we have two clustered index on a table?
Are sql connections encrypted?
Is sql a backend language?