When I run a DBCC check against the database, it informs me that there is an issue with the sys.fulltext_stoplists
object. It appears that the principal_id
in stoplists does not have a relationship with database_principals
:
What would be the best way to address the issue? It is difficult to modify data in system tables.
Best Answer
The sys.fulltext_stoplists doc says the column
principal_id
is the ID of the database principal that owns the stoplist. You can specify it as one of the Arguments of theCREATE FULLTEXT STOPLIST
command:It appears the owner of the object no longer exists. You can assign a new owner using the ALTER AUTHORIZATION like this:
After that, run the DBCC check again to see if everything is ok.