sp_unbindcache_all

Description

Unbinds all objects that are bound to a cache.

Syntax

sp_unbindcache_all cache_name

Parameters

cache_name

is the name of the data cache from which objects are to be unbound.

Examples

Example 1

Unbinds all databases, tables, indexes, text objects and image objects that are bound to pub_cache:

sp_unbindcache_all pub_cache

Usage

Permissions

Only a System Administrator can execute sp_unbindcache_all.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

System procedures sp_bindcache, sp_helpcache, sp_unbindcache