Iβm trying to figure out how to get the following code to return the line that he just inserted, βthe employee pointed out and suggested launching the ALTER FULLTEXT uiris_production REBUILD directory, but this cannot be done as part of a user transaction.
The reason this should be in a transaction is because it comes from a test environment where the test is wrapped in a transaction and then rolled back.
declare @search varchar(64) set @login_test = 'foobar' set @search = '"' + @login_test + '*"' begin transaction insert into users(login) values (@login_test) select login from users where contains(login, @search) commit
sql sql-server full-text-search
Ransom briggs
source share