- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc. - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc. - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc. - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc. - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc. - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.

Sponsored Links

Interview Questions
Our Services

Question :

What is the difference between "procedure" and "function"?

Category SQL Server Interview Questions
Rating (4.4) By 15 users
Added on 4/3/2013
Views 639
Rate it!



1.The major difference between procedure and function is that procedure is to be compile only one time and vice versa.Execution of procedure is faster then function

2.Function can be used in select Queries statement,but in stored procedure it's not possible.

3.Fuction can return a single value only.Stored procedure return more than one value.


Stored procedure may or may not return a value. However in SQL Server, a function may return a single value or a table.
And a function can be used inline in a select statement.

Posted by: Pawan Tewari

Contact Pawan Tewari Contact Pawan Tewari


k...thank you know what is use of trigger

Posted by: prabu

Contact prabu Contact prabu

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
How will you copy the structure of a table without copying the data?
View Answer
What is DESCRIBE command in SQL Server?What is its purpose?How to use it?
View Answer
What are DTS subroutines? What is their use and How do you write them?
View Answer
What is a transaction isolation level and What is the advantage of it? What are different options that we set for a transaction isolation level? Transaction isolation levels are used when we go for transactions in stored procedures used in Transact SQL.
View Answer
What is the difference between the full, simple and bulk log recovery models?
View Answer
What does the Log Reader agent in SQL Server 2005 replication do?
View Answer
What does this return?
select (1324 & 1024)
View Answer
Where does Profiler store its temporary data in SQL Server 2005?
View Answer
What does this return?
declare @i int
select @i = -5
select +@i
View Answer
Which of the following modules within SQL Server 2005 cannot be signed with a digital signature?
View Answer
What are the three possible functions of the plus (+) operator in SQL Server 2005, the base installed T-SQL?
View Answer
What does the Queue Reader Agent do in SQL Server 2005 replication?
View Answer
How does a differential backup know which extents have changed so that it can be very quickly run?
View Answer
When you create a new Message Type in the SQL Server 2005 Service Broker, what does the Authorization parameter signify?
View Answer
What is the recommended way to send mail from SQLAgent in SQL Server 2005?
View Answer
How do I submit a form or a part of a form without a page refresh?
View Answer
In which order do you perform an upgrade to SQL Server 2005 for replicated databases?
View Answer
Error severity 13 indicates what?
View Answer
What is SQL Server ?
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here - Best Freshers & Experienced Jobs Website.

View ALL SQL Server Interview Questions & Answers

User Options
India News Network

Latest 20 Questions
What is an execution plan? When would you use it?
What is BCP? When does it used?
What are the advantages of using Stored Procedures?
What is a Scheduled Jobs or What is a Scheduled Tasks?
What is NOT NULL Constraint?
What is CHECK Constraint?
What is UNIQUE KEY constraint?
What is the difference between a Local and a Global temporary table?
Name 3 ways to get an accurate count of the number of records in a table?
What is Log Shipping?
What is SQL Server Agent?
Which command using Query Analyzer will give you the version of SQL server and operating system?
What are the authentication modes in SQL Server? How can it be changed?
What is SQL Profiler?
What are the properties and different Types of Sub-Queries?
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
When is the use of UPDATE_STATISTICS command?
What is difference between DELETE and TRUNCATE commands?

Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |

Copyright ©2003-2016, All Rights Reserved.
Privacy Policy | Terms and Conditions

Cache = 0.005981 Seconds