(Component Integration Services only) Reports owners, objects, and type information for remote object definitions.
sp_helpobjectdef [objname]
dbname.owner.object
dbname..object
owner.object
object
dbname and owner are optional. object is required. If owner is not supplied, the owner defaults to the current user name. If dbname is supplied, it must be the current database, and owner must be supplied or marked with the placeholder dbname..object. Enclose a multipart objname in quotes.
sp_helpobjectdef
sp_helpobjectdef "dbo.tb1"
If no objname is supplied, sp_helpobjectdef displays all remote object definitions.
A server name is not permitted in the objname parameter.
See also create table, create existing table, drop table in Reference Manual: Commands.
Any user can execute sp_helpobjectdef. Permission checks do not differ based on the granular permissions settings.
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|