Give the structure of the function ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we avoid duplicating records in a query?

735


Why are sql stored procedures used?

793


What is mutating error in pl sql?

746


How can you tell the difference between an index and a view?

688


What are all different types of collation sensitivity?

734






What is parallel hint?

933


Give the order of sql select?

826


Why is nosql good?

774


What are the qualities of 2nf?

747


What is the difference between database trigger and stored procedure?

738


State few characteristics of pl/sql?

721


what is meant by urlencode and urldocode? : Sql dba

767


What are the types of keys?

669


how do you know if your mysql server is alive? : Sql dba

776


What is the sql query to display the current date?

750