diff b/w function and procedure?

Answer Posted / malkeet kaur

1)functions may or may not have return type but procedure doesn't have return type
2)functions are called from select statement but procedure can not called from select statement
3)fuctions are used when some data is passed to calling environment but procedure is used
when some processing to be done

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many commands are in sql?

523


What is posting?

603


Define commit?

547


How do I run a sql trace?

519


what is the difference between blob and text? : Sql dba

527






What is $$ in sql?

553


Where do we use pl sql?

550


How do I run a query in pl sql developer?

560


What are the parts of a sql statement?

552


How does rowid help in running a query faster?

965


What is the difference between partition and index?

482


What are the types of join and explain each?

577


What are the 3 types of behavioral triggers?

659


how to convert character strings to numeric values? : Sql dba

572


How do I partition in sql?

536