diff b/w function and procedure?

Answer Posted / tilak

1)we can write COMMIT in procedure but we cant write in function

2) function must me return a value but procedure may or may
not be

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2297


What is a primary key? Explain

736


What is trigger price?

731


What is the trigger in sql?

700


Why is partition used in sql?

785






Can instead of triggers be used to fire once for each statement on a view?

712


What has stored procedures in sql and how we can use it?

765


What is the difference between sql and isql*plus?

704


What are the benefits of stored procedures?

709


Can we join same table in sql?

738


What is type and rowtype in pl sql?

741


How consistent is the view of the data between and within multiple sessions, transactions or statements ?

1925


Can you do multiple joins in sql?

729


what is the difference between char and varchar data types? : Sql dba

741


Can we use commit inside a trigger?

763