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...

difference between function and procedure

Answer Posted / ramya

1.a function must returns a value where as procedure may not return value
2.a procedure can have parameters of both i/p and o/p but
fun has only i/p parameters
3.in procedure we can perform all the dml operations but in function only select operation should be performed
4.we call a procedure by using 'exec' or 'execute' command where as function is called by using 'select' command

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use triggers?

1002


How do I get to sql server configuration manager?

1001


what is a sub-report?

140


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

1004


What are the different type of replication in sql server?

974


What is mean by dml?

997


Does sql server 2000 full-text search support clustering?

856


What is difference between Datepart() and Datename() in SqlServer?

1196


Explain syntax for dropping triggers?

919


Can we perform backup restore operation on tempdb? : sql server database administration

986


What is a trigger? Why we need it?

988


What is index fragmentation in ms sql server?

1069


How can you tell if a database object is invalid?

1067


How to use subqueries with the exists operators in ms sql server?

1108


Why would you use sql agent?

1254