SQL Flow Field Guide

sp_OAMethod

Check SQL Server version support in the source

spOAMethod calls a method of an OLE object.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Not stated in the Microsoft summary.

Syntax at a glance

sp_OAMethod objecttoken , methodname
    [ , returnvalue OUTPUT ]
    [ , [ @parametername = ] parameter [ OUTPUT ] [ ...n ] ]
[ ; ]

Work example

spOAMethod calls a method of an OLE object.

Read the permission and security notes. Describe the host or instance effect without running the procedure.

Check your work Which external resource or server capability could this procedure reach?

Open Microsoft Learn for full syntax, permissions, and details for your version.