Answered by:
Difference between Stored Procedure and extended Stored Procedure

Question
-
What is the difference between Stored Procedure and extended Stored Procedure , I did some re-search but still can not get the right difference.
Please explain is simple terms.
Wednesday, August 8, 2018 11:18 AM
Answers
-
Hello,
Stored procedures are written in plain Transact SQL (or as a .NET CLR) and stored in database, while XP are writen in unmanaged code like C++ and store in file system.
See Creating Extended Stored Procedures
Olaf Helper
[ Blog] [ Xing] [ MVP]- Proposed as answer by pituachMVP Wednesday, August 8, 2018 1:24 PM
- Marked as answer by MU DBA Friday, August 17, 2018 2:28 AM
Wednesday, August 8, 2018 11:26 AM
All replies
-
Hello,
Stored procedures are written in plain Transact SQL (or as a .NET CLR) and stored in database, while XP are writen in unmanaged code like C++ and store in file system.
See Creating Extended Stored Procedures
Olaf Helper
[ Blog] [ Xing] [ MVP]- Proposed as answer by pituachMVP Wednesday, August 8, 2018 1:24 PM
- Marked as answer by MU DBA Friday, August 17, 2018 2:28 AM
Wednesday, August 8, 2018 11:26 AM -
Here you go!
Please remember to click "Mark as Answer" if my response answered your question or click "Vote as helpful" if it helped you in any way.
- Proposed as answer by Rachel_WangMicrosoft contingent staff Thursday, August 9, 2018 8:37 AM
Wednesday, August 8, 2018 1:19 PM -
Wednesday, August 8, 2018 1:37 PM
-
In addition to the other posts: extended stored proceduers is an old and deprecated technology and you would rarely have reason to mess with them save for a handful that comes with SQL Server.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Wednesday, August 8, 2018 9:48 PM