diffrence between function and procedure

Answer Posted / pradeep aryan

1. Function can returtn single value but proc san return
multiple values

2. Proc can call a function but function not.

3. function can call in select statement also and acn perform
action also but proc not.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a large table with random data for index testing in ms sql server?

539


What is explicit mode in sql server?

537


What are the types of subscriptions in SQL Server replication?

554


What are different types of subquery?

721


How to filter out duplications in the returning rows in ms sql server?

640






What is save transaction and save point?

630


Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

641


Explain the truncate command? : SQL Server Architecture

567


Define full outer join in sql server joins?

501


How can we migrate from SQL server to SQL Azure?

92


What is the difference between join and inner join?

541


Explain how to send email from sql database?

568


Explain various On-Delete options in a DB table. Which is the default option?

900


Define cursor locking

552


What is BCNF? How is it better than 2NF & 3NF?

597