Reputation: 5977
We are getting this error when trying to execute an ALTER TABLE
command on an existing table:
Msg 208, Level 16, State 1, Procedure sp_MStran_altertable, Line 1071
Invalid object name 'systranschemas'.
The alter table statement is:
alter table dbo.YARPF
add YARSCWO char(3)
We have admin rights on the SQL server and database.
What can we do to track down and resolve this error?
Upvotes: 0
Views: 988
Reputation: 119186
The sp_MStran_altertable
procedure is called whenever an object is altered in a replicated database. You are getting the error because replication was partially removed.
You need to manually remove all references to replication. Technet has a good article on how to do this: http://technet.microsoft.com/en-us/library/ms152757(v=sql.105).aspx
Upvotes: 1