what is difference between procedure and function
Answer Posted / subhendu
Functions called from SQL have special restrictions:
Accept only IN parameters
cannot contain DML
cannot contain DDL - implies COMMIT
Accept and return only SQL datatypes (not PL/SQL
specific datatypes)
Must use positional notation
Must own or have EXECUTE privilege
Cannot contain transactional or session control
statements (eg. COMMIT, ROLLBACK, ALTER)
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the usage of nvl function?
Which sql statement is used to delete data from a database?
what is oltp (online transaction processing)? : Sql dba
How to call shell script from pl sql procedure?
Which sql statement is used to return only different values?
What is difference between rank () row_number () and dense_rank () in sql?
what is 'mysqld'? : Sql dba
Can we update views in sql?
What is procedure explain with program?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is the location of pre_defined_functions.
Why stored procedures are faster than query?
What are the operators used in select statements?
Is sql free?
how to return query output in html format? : Sql dba