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

What is a temporal data type?

1042


How can you fetch common records from two tables?

1055


How to write pl sql program in mysql command prompt?

1089


What are all types of user defined functions?

1073


What is the advantage of nosql?

1061


What are the three forms of normalization?

1041


Can a composite key be null?

971


How do I order columns in sql?

996


what is user defined functions? : Sql dba

1026


How exception handling is done in advance pl/sql?

979


Can you select everything, but 1 or 2 fields, without writer's cramp?

979


how is exception handling handled in mysql? : Sql dba

1072


How do I run a script in sql developer?

944


Can we rename a column in the output of sql query?

991


What is localdb mssqllocaldb?

1066