Groups | Blog | Home
all groups > sql server replication > september 2007 >

sql server replication : Cannot alter column '__COLUMN__' because it is 'REPLICATED'.


Jay
9/12/2007 12:22:57 PM
When I try to alter a table with:

DECLARE @Beg datetime
DECLARE @End datetime

SET @Beg = getdate()
ALTER TABLE __TABLE__
ALTER COLUMN _COLUMN_ VARCHAR(250)
SET @End = getdate()

PRINT DATEDIFF(second, @Beg, @End)

I get the message:

Warning: The table '__TABLE__' has been created but its maximum row size
(15334) exceeds the maximum number of bytes per row (8060). INSERT or UPDATE
of a row in this table will fail if the resulting row length exceeds 8060
bytes.
Server: Msg 4928, Level 16, State 1, Line 5
Cannot alter column '__COLUMN__' because it is 'REPLICATED'.

Now I would understand this on production, but the table isn't replicated on
the dev system, where I ran this. I do know that the databases were created
from production backups.

Jay
9/14/2007 12:27:32 PM
Shameless bump

[quoted text, click to view]

Jay
9/17/2007 10:31:33 AM
re bump

[quoted text, click to view]

AddThis Social Bookmark Button