adspace


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

What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1298


List the ways in which dynamic sql can be executed?

1085


Can you index views?

953


What is clustered index

1085


How to convert character strings into numeric values?

1189


Can sql servers link to other servers like oracle?

915


What is standby servers? Explain types of standby servers.

1078


Why use identity in sql server?

1197


If any stored procedure is encrypted, then can we see its definition in activity monitor?

1070


What is an indexed view?

1021


How can I check that whether automatic statistic update is enabled or not?

1111


How to provide default values to function parameters?

1257


What kind of problems occurs if we do not implement proper locking strategy?

1499


What are wait types?

1248


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1212