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

Answer Posted / darshan shah

SP may return value or may not ,function always treturn
value.
SP cannot use in sselect statment or in sql stattment ,We
can use Function in any where in sql statment.
Packeage is set of statment,SP,Function Which run one by
one statment in that.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to return the date part only from a sql server datetime datatype?

777


What are indexes in ms sql server?

724


How can I track the changes or identify the latest insert-update-delete from a table?

727


How many full-text indexes can a table have?

734


What is the native system stored procedure to execute a command against all databases?

724


How to create a user to access a database in ms sql server using "create user" statements?

737


what is bit datatype? : Sql server database administration

664


What are the components of sql server service broker?

691


What is table-valued sub query?

742


How to replace given values with null using nullif()?

729


What is shrink log file?

658


What is a functions and types in sql server?

755


What Is Rdbms?

846


What is open database communication (odbc)?

763


Write an sql query to find first weekday of the month?

673