How to match numbers in SQL Server \'LIKE\'.
SpaceName ------------ | New_Space_1 | . | . | New_Space_8 | New_Space_9 | New_Space_10 | New_Space_11 | New_Space
This solution from @SteveKass works perfect.
SELECT SpaceName FROM SpaceTable WHERE SpaceName LIKE 'New[_]Space[_]%' AND SpaceName NOT LIKE 'New[_]Space[_]%[^0-9]%'