Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can I see all tables in sql?

983


What is sqlite format?

1105


What is pl sql commands?

979


how to delete an existing column in a table? : Sql dba

950


What is primary key in db?

933


What programs use sql?

940


How do you optimize a stored procedure in sql?

892


What are the different types of constraints?

1070


What is an exception in PL/SQL? What are the two types of exceptions?

1190


Why do we use view in sql?

907


What is mutating sql table?

1038


what is a tablespace? : Sql dba

1004


What steps server process has to take to execute an update statement?

919


What are the datatypes available in pl/sql ?

1042


What does count (*) mean in sql?

1514