Differences between functions and stored procedures?

Answer Posted / santhoshkumar.k

store procedure takes less time to execute the statement
than functions, also we can create loops inside the store
procedure.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to insert data with null values?

585


How many types of triggers are there?

571


What command would you use to add a column to a table in sql server?

747


Is candidate a key?

536


What are the advantages to use stored procedures?

572






Explain throw statement in sql server 2008?

581


How do you rebuild an identity column?

545


How to create a view with data from multiple tables?

557


Which language rdl files made of?

100


hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.

2468


What are the disadvantages of merge replication?

775


Mention a few common trace flags used with sql server?

542


What is the partitioning method?

529


What are the restrictions that views have to follow? : SQL Server Architecture

529


What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?

3756