List the differences between plsql - function & procedures
Answers were Sorted based on User's Feedback
Answer / lavanya
functions:
1.The parameters are input values and output values
2.The functions will return a value
3.The functions will be called with in sql
Procedures:
1.The parameters are input values and output values
2.The procedures will not return any value
3.The procedures will not be called with in sql
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / iamanocp
Proceure performs an action and function returns a value.
Both have different syntax for creation. Fucntion has
RETURN clause in its declaration.
| Is This Answer Correct ? | 2 Yes | 1 No |
What is the use of stored procedures?
Can we create foreign key without primary key?
What is pivot in sql?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
what is a composite primary key ? : Sql dba
What do you understand by pl/sql packages?
What is the use of %rowtype?
Difference between DBMS and RDBMS...CODD's rules
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
What is a 'instead of trigger'?
can i give user defined exception in a package
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)