What is the difference between Stored Procedure , Function
and Package,
1. how many blocks in Package and what are they.

Answer Posted / scorpio.mishra

1->stored procedure can not be written as a column name but
function can be written as a column name
2->result set of stored procedure can not be used in
joining tables but table return by function can be used in
joins

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the dis_advantages of stored procedures, triggers, indexes?

1931


What is an index in a database?

710


Can multiple columns be used in sql group by clause in ms sql server?

735


Explain alternate key, candidate key and composite key in sql server?

662


Explain system scalar functions?

751






Does windows server 2016 come with sql server?

677


How to view existing indexes on an given table using sys.indexes?

807


Explain left outer join and right outer join?

763


What are horizontal and vertical scaling?

166


What is an expensive query?

704


Explain what is it unwise to create wide clustered index keys?

708


How can I check that whether automatic statistic update is enabled or not?

788


What is an index in sql?

729


What is table-valued sub query?

736


What is updatable resultset?

688