When replication is enabled for a table, and you try to
sp_rename Table1,Table2
this occurs:
Server: Msg 15051, Level 11, State 1, Procedure sp_rename, Line 234
Cannot rename the table because it is published for replication.
Is there any way to tell if Replication is actively moving rows for this table (or any table), as opposed to merely enabled ?
Would need to check this via a SQL or Transact-SQL query, not via Enterprise Manager.
Alternatively, is there a way to let the table be renamed in the Publisher db ?
Thanx.