DECLARE @GlobalStringFraction NVARCHAR(100) = 'BIRKBECK HOUSE COLLIERS WAY NG86AT'
ensures that full text index is up to date before running the following
EXEC [Core].[USP_Core_WaitForFullTextIndexing] N'LocationFullTextCatalog';
SET @GlobalStringFraction = REPLACE(REPLACE(REPLACE(@GlobalStringFraction,
N' ', N'<>'), N'><', N''),
N'<>', N' ');
SET @GlobalStringFraction = N'"' + REPLACE(@GlobalStringFraction, N' ',
N'" AND "') + N'"';
PRINT @GlobalStringFraction;
SELECT LocationId ,
Rank ,
IsPoint
FROM [Spaces].[CrossContext].[LocationView] AS t
INNER JOIN FREETEXTTABLE([Spaces].[CrossContext].[LocationView], ConcatenatedAddressString, @GlobalStringFraction)
AS k ON t.LocationId = k.[key]
AND Iso3166MinusOneCountryId = 1
ORDER BY t.LocationId;
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.