I am looking for a way to call the following only if the fulltext index status is paused but I can't seem to find the query I need to get the population status of a specific table
ALTER FULLTEXT INDEX ON dbo.my_table RESUME POPULATION
I have several indexes in the one fulltext catalog so I cannot rely on sys.fulltext_catalogs
. I have checked sys.fulltext_indexes
and the two indexes - one running and one paused - appear identical.