Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sp_OACreate

Posted on 2006-06-14
1
Medium Priority
?
728 Views
Last Modified: 2012-05-05
EXEC @hresult = sp_OACreate 'MyLib.MyClass', @object OUT

In this statement @object is the return parameter out. so once this statement is executed what exactly is returned....the created ole object?
0
Comment
Question by:Moizsaif123
1 Comment
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 400 total points
ID: 16905085
Is the returned object token, and must be a local variable of data type int. This object token identifies the created OLE object and is used in calls to the other OLE Automation stored procedures.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question