Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someon explain this to me....

Status
Not open for further replies.

tkoehn

ISP
May 24, 2001
26
0
0
US
-- Create an object
exec @hr = sp_OACreate 'AbacBill.PutFile', @object output
if @hr <> 0 begin
select @return = -100 - 1
goto errole_lbl
end

What does the 'AbacBill.PutFile' mean? I know the AbacBill is a database. I don't understand the .PutFile part.

Tony
 
sp_OACreate is a stored procedure that creates an instance of the OLE object on the computer running Microsoft SQL Server. AbacBill is the component name of an OLE Automation server, and PutFile is the name of the OLE object to be created.

Read about sp_OACreate in SQL Books Online or at Terry L. Broadbent
Life would be easier if I had the source code. -Anonymous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top