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 the primary use of normalization?

701


What are the two types of exceptions.

818


Can you select everything, but 1 or 2 fields, without writer's cramp?

689


How do you update a value in sql?

717


Why having clause is used in sql?

724






what are numeric data types? : Sql dba

761


What is a database? Explain

781


What is normalisation in sql?

774


Does truncate require commit?

714


Do prepared statements prevent sql injection?

689


what is a tablespace? : Sql dba

764


Explain what is table in a database?

782


What is sql key?

688


What is a nested table in word?

705


Is hadoop a nosql?

745