sp_dropobjectdef

Description

Component Integration Services only Deletes the external storage mapping provided for a local object.

Syntax

sp_dropobjectdef "object_name"

Parameters

object_name

has the form dbname.owner.object, where:

Examples

Example 1

Deletes the entry from sysattributes that provided the external storage mapping for a table known to the server as the colleges table in database personnel:

sp_dropobjectdef "personnel.dbo.colleges"

Example 2

Deletes the entry from sysattributes that provided the external storage mapping for the andrea.fishbone object, where andrea is the owner and the local table name is fishbone:

sp_dropobjectdef "andrea.fishbone"

Usage

Permissions

Only the Database Owner or a System Administrator can execute sp_dropobjectdef. Only a System Administrator can execute sp_dropobjectdef to remove mapping information for another user’s object.

See also

Commands create existing table, create table, drop table

System procedures sp_addobjectdef