sp_replflush (T-SQL)

Flushes the article cache.

Syntax

sp_replflush

Return Code Values

0 (success) or 1 (failure)

Remarks

sp_replflush is used in transactional replication.

Article definitions are stored in cache for efficiency. sp_seplflush is used by other  replication stored procedures whenever an article definition is modified or dropped.

Only one client connection can have log reader access to a given database. If a client has log reader access to a database, executing sp_replflush causes the client to release its access. Other clients can then scan the transaction log using sp_replcmds or sp_replshowcmds.

You should not have to execute this procedure manually.

Permissions

Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_replflush.

See Also
sp_replcmds sp_repltrans
sp_repldone System Stored Procedures

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.