Digging deeper into the problem I found out that there is a flag in the
system view sys.tables called "is_merge_published" which has a orphaned
boolean 1 for each table which had been replicated.
But in SQL2005 I found no way to change system catalogs (I know there is a
hidden Ressource DB...)! Simple T-SQL does not work (tried update sys.tables
set is_merge_published=0)
How can I update the system view?
Thx for any hints!!!
Stefan Rosenthal
thx a lot for the moment - I will see/try and give feedback...
Stefan
"Paul Ibison" <Paul....@Pygmalion.Com> wrote in message
news:uWtEzV$NGHA...@TK2MSFTNGP12.phx.gbl...
The table is unmarked and I can change columns again.
Regards
Stefan Rosenthal
"Paul Ibison" <Paul....@Pygmalion.Com> wrote in message
news:uWtEzV$NGHA...@TK2MSFTNGP12.phx.gbl...
-- Removes Replication Flag for all Tables in the Database
-- using sp_MSunmarkreplinfo
SET NOCOUNT ON
DECLARE @tablename NVARCHAR(128)
DECLARE @RC INT
DECLARE curTable CURSOR FOR
SELECT [name] AS tbl
FROM sys.tables
OPEN curTable
FETCH NEXT FROM curTable
INTO @tablename
WHILE @@FETCH_STATUS = 0
BEGIN
EXECUTE @RC = dbo.sp_MSunmarkreplinfo @tablename
FETCH NEXT FROM curTable
INTO @tablename
END
CLOSE curTable
DEALLOCATE curTable
GO
"Stefan Rosenthal" <ne...@rosenthal-consulting.de> wrote in message
news:dtif3c$i5s$1...@svr7.m-online.net...