What is an extended stored procedure? Can you instantiate a
COM object by using T-SQL?

Answer Posted / dharmendra k. dixit

An extended stored procedure is simply a procedure that is
implemented in a dynamic link library (DLL) — a library
that is called by an application at runtime. Extended
stored procedures can be used in much the same way as
database stored procedures, except that extended stored
procedures normally perform tasks related to the
interaction of SQL Server with its operating environment.
Tasks that are either too complicated or just not possible
using Transact-SQL can often be performed with extended
stored procedures.
Extended stored procedures are written using the Open Data
Services (ODS) API. ODS is written and supported by
Microsoft and is available on the Workstation version of
SQL Server and as a separate product (and in the Back-
Office Development Kit). The ODS development package
includes both a static-link library (Opends60.lib) and C
header files that let you create fully functional database
services. ODS applications are dynamically linked with
Opends60.dll.

SOme are the type of Extend Stored Procedure..
XP_Cmdshell, xp_logevent, xp_deletemail, xp_sendmail

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How sql server executes a statement with nested subqueries?

704


How can we determine what objects a user-defined function depends upon?

694


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

751


What is the difference between functions and scalar functions?

752


How exceptions can be handled in sql server programming?

705






Explain different backup plans?

702


How to list all objects in a given schema?

737


Explain the various types of concurrency problem?

923


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

772


What is importing utility?

719


What is a transactions?

778


What are the differences between ms sql server & oracle?

742


What is a natural primary key?

684


what's the difference between delete table and truncate table commands? : Sql server database administration

674


How does the report manager work in SSRS?

131