Component Integration Services only Deletes the external storage mapping provided for a local object.
has the form dbname.owner.object, where:
dbname is the name of the database containing the object whose storage location you are dropping. dbname is optional; if present, it must be the current database, and the owner or a placeholder is required.
owner is the name of the owner of the object whose storage location you are dropping. owner is optional; it is required if dbname is specified.
object is the name of the local table for which external storage mapping is to be dropped.
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:
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 deletes the external storage mapping provided for a local object. It replaces sp_droptabledef.
Use sp_dropobjectdef after dropping a remote table with drop table.
Dropping a table does not remove the mapping information from the sysattributes table if it was added using sp_addobjectdef. It must be explicitly removed using sp_dropobjectdef.
The object_name can be in any of these forms:
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.
Commands create existing table, create table, drop table
System procedures sp_addobjectdef