Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Replace Space in Full Text Search

$
0
0

In my query I am using a Function to look for Text.

functionname(recordID)

So I need to run a full text search in a large memo field where normally I can sayfunctionname(recordID) like '%abcd:%'.

In this search there may or may not be a space following (ex: abcd: 1 or it can be abcd:1).  Is there a way to write the code to ingore the space if there is one rather than using the OR statement.   I have some multiple ones like this but with a different number at the end where I would like to use the [12345] option where it can be any of these numbers after "%abcd:%".  Any advice is greatly appreciated.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>