when we use function instead of procedure? plz tell me the
situation with ex?

Answer Posted / adil khan

procedure can only use in plsql not in sql. in other words
you can not use procedure in your select satatement. only
funtion can be used for example max(),min(),Avg() these all
are funtion not procedure.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define right outer join in sql server joins?

521


Explain the different index configurations a table can have?

513


What is row_number()?

587


Explain linked server in sql?

698


What is use of attributehierarchyenabled? : sql server analysis services, ssas

615






How optimize sql query with multiple joins in sql server?

417


Can You Use Data Mining Models In Ssrs?

97


how to create “alternate row colour”?

109


How to insert data into an existing table?

571


what are isolation levels? : Sql server database administration

498


Why use “nolock” in sql server?

565


Is sql server implemented as a service or an application? : Sql server database administration

512


What is table valued function and scalar valued functions?

497


What is relationship? What number of sorts of relationship are there?

639


What are different replication agents and what's their purpose? : sql server replication

577