SQL Server Interview Questions - What Is The Difference Between A User Defined Function (UDF) and A Stored Procedure (SP) in SQL Server PDF
SQL Server Interview Questions - What Is The Difference Between A User Defined Function (UDF) and A Stored Procedure (SP) in SQL Server PDF
SQL Server Interview Questions
C#
Boo MV ASP. C SQL W Written HR Subsc SQL Buy
Program 5
ks C NET # Server CF Test Round ribe Tutorial DVD
s
Best software training institute in bangalore for SAP ABAP,
SAP BI, .Net, Informatica, Software Testing, Siebel CRM
I am Venkat and this is my website. I did training in Pragim
Technologies and got job in Dell in less than a week. PRAGIM is the
best S/W training institute in Bangalore.
Click here for Hyderabad Center Website
For further details please call 09900113931.
1. Stored Procedure support deffered name resolution where as functions do
not support deffered name resolution.
2. User Defined Function can be used in a select statement where as you
cannot use a stored procedure in a select statement.
3. UDF's cannot return Image, Text where as a StoredProcedure can return any
datatype.
4. In general User Defined Functions are used for computations where as
SAP BI Training in Bangalore Stored Procedures are used for performing business logic.
Best SAP BI Training institute in Bangalore,
Marathahalli. Real time project based training
provided by working software professionals 5. UDF should return a value where as Stored Procedure need not.
having more than 10 years of experience.
Informatica Training in Bangalore
Informatica training in bangalore delivered by 6. User Defined Functions accept lesser number of input parameters than
a real time software expert having 10 years Stored Procedures. UDF can have upto 1023 input parameters where as a
of experience. Stored Procedure can have upto 21000 input parameters.
Siebel CRM Training in Bangalore
Best software training institute for Siebel CRM
training in Marathahalli, Bangalore.
Software testing training institute in
bangalore
http://venkatsqlinterview.blogspot.in/2011/05/whatisdifferencebetweenuserdefined.html 1/8
12/24/2016 SQL Server Interview Questions: What is the difference between a User Defined Function (UDF) and a Stored Procedure (SP) in SQL Server
Software testing training on real time projects
and placements.
MSBI Training Institute in Bangalore
Best MSBI Training in Bangalore by an
expert. MSBI training on real time projects
and placements.
Basic SQL Server Interview Questions
Explain Right Outer Join with an Anonymous June 14, 2011 at 5:43 AM
example
You can not write EXEC('any sql statement') inside UDF
Explain Full Outer Join with an Reply
example
Replies
Reply
Replies
Reply
Reply
Replies
Reply
In GAC if two versions are present for same dlls which one to
chose by what application?
how ur code will identify which one is you should use. Give the
code or command which will identify?
Reply
Replies
http://venkatsqlinterview.blogspot.in/2011/05/whatisdifferencebetweenuserdefined.html 5/8
12/24/2016 SQL Server Interview Questions: What is the difference between a User Defined Function (UDF) and a Stored Procedure (SP) in SQL Server
Reply
regards: maharshi,9032270738,[email protected]
Reply
SELECT localValue
FROM dbo.localToNationalMapTable
WHERE nationalValue = @someValue
RETURN @retval
END
What happens here is that the function MyFunction is called for
every row in the table MyTable. If MyTable has 1000 rows, then
that's another 1000 ad‐hoc queries against the database.
Similarly, if the function is called when specified in the column
spec, then the function will be called for each row returned by
the SELECT.
http://venkatsqlinterview.blogspot.in/2011/05/whatisdifferencebetweenuserdefined.html 7/8
12/24/2016 SQL Server Interview Questions: What is the difference between a User Defined Function (UDF) and a Stored Procedure (SP) in SQL Server
Replies
Reply
Enter your comment...
Comment as: Select profile...
Publish
Preview
Disclaimer Terms of use Contact Us
http://venkatsqlinterview.blogspot.in/2011/05/whatisdifferencebetweenuserdefined.html 8/8