What are the difference between Functions/Stored Procs and
Triggers and where are they used.
Answer / barun
Function-1.function used for calculation perpose.it must
return value.(call by pl/sql code block,by sql query)
Procedure-it is used to implement business logic.it may or
not return value.it pre compile and stored in server data
base.so it is faster.(call by pl/sql code block_
trigger-it is used to implement business logic and maintain
intigrity.it cant take any para-meter like fun or
procedure.it is automatically fired(implicitely)
| Is This Answer Correct ? | 8 Yes | 0 No |
How can I delete duplicate rows?
How does pl sql work?
Inline the values in PL/SQL, what does it mean.?
i want insert 10 records from table a to table b. if i m using statement level trigger how many record insert ?in row level trigger how many record inserted???
3 Answers Scope International,
How to write html code in pl sql?
How do you explain an index number?
What is the requirement of self-join?
Does varchar need length?
How is a PL/SQL code compiled?
what is a tablespace? : Sql dba
what is sql profiler
What happens if a procedure that updates a column of table X is called in a database trigger of the same table ?
Oracle (3253)
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)