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

What is sqlca in powerbuilder?

571


What does stand for in sql?

524


Why do we use sqlite?

535


What is difference between sql and oracle?

568


What are different types of triggers?

561






What does truncate mean in sql?

536


What is the difference between database trigger and stored procedure?

557


what is a constraint? : Sql dba

715


Is drop table faster than truncate?

551


What is the primary key?

538


Differentiate between syntax and runtime errors.

642


What are the different tcl commands in sql?

620


what is index? : Sql dba

558


What is consistency?

715


What is function and procedure in pl sql?

521