Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Rename a column in a replicated table

$
0
0
Hi, I tried to run this(below) the table is replicated(transactional).

EXECUTE

 

sp_renameN'dbo.Tablename.Columnname,N'New_Columnname','COLUMN'

But getting this error message:

Msg 15051, Level 11, State 1, Procedure sp_rename, Line 227

Cannot rename the table because it is published for replication.

 

Thank You


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>