• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 730
  • Last Modified:

sp_OACreate

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
Moizsaif123
Asked:
Moizsaif123
1 Solution
 
Aneesh RetnakaranDatabase AdministratorCommented:
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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now