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

Answer Posted / swapna

An extended stored procedure is a function within a DLL
(written in a programming language like C, C++ using Open
Data Services (ODS) API) that can be called from T-SQL,
just the way we call normal stored procedures using the
EXEC statement.


Yes, you can instantiate a COM (written in languages like
VB, VC++) object from T-SQL by using sp_OACreate stored
procedure. For an example of creating a COM object in VB
and calling it from T-SQL

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax for encrypting a column in SQL Server?

553


What are the new features in SQL Server 2005 when compared to SQL Server 2000?

621


What is equi join with example?

551


What are the system database in sql server 2005?

550


What is snapshot replication?

597






What are .mdf files?

518


Mention the differences between sql server and mysql.

505


Explain trigger and its types?

610


What is user defined datatypes and when you should go for them?

580


How to connect php with different port numbers?

551


What is create statement?

529


How will you optimize a stored procedure optimization?

512


Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

514


When should you use an instead of trigger?

551


Explain intellisense for query editing

563