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

What is standby servers? Explain types of standby servers.

995


explain extended properties

994


What are binary string data types in ms sql server?

1300


Explain a join?

1072


List the different normalization forms?

985


Explain what role entity and relationship play in an ER diagram.

1075


Why are sql functions used?

1124


What methods do you follow to protect from sql injection attack?

1032


What is an sql server agent?

1069


What are the export options of ssrs?

173


Explain the truncate command?

988


Can a table be created inside a trigger?

973


What is the difference RDBMS and Graph Database?

1053


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

1001


How you can get a list of all the table constraints in a database? : Sql server administration

1029