Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

diffrence between function and procedure

Answer Posted / srinivas k

Function should always return a value, where as Store Proc
may or may not return values.
Functions can be part of DML statements, where SP cannot be.
SP are precompiled and functions are not.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

1033


How to use union to merge outputs from two queries together in ms sql server?

1069


What is sql server profiler trace data file?

1109


What is meant by indexing?

1022


what is the difference between Delete and Truncate command in SQL

1147


How to use "begin ... End" statement structures in ms sql server?

1044


Can you name some of the dml commands in sql?

1032


How to filter records of table in SQL SERVER?

1086


How do I create a stored procedure in sql server?

1034


What’s the use of custom fields in report?

944


What is sql stored procedure?

1093


Explain the different index configurations a table can have?

946


You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?

2147


How can you check the version of sql server?

1096


What are ddl (data definition language) statements for tables in ms sql server?

1104