Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TSQL equiv of str$str without full text indexing
Message
 
 
To
11/11/2011 10:56:31
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01528654
Message ID:
01528655
Views:
65
Hi Charles,

>I know how to use CONTAINS when full text indexing is on but is there a way to find all records containing '[ISO]' in a varchar(1500) column without it?

You can use LIKE operator
VarcharColumn LIKE '[[]ISO]' 
-- or
VarcharColumn LIKE '\[ISO]' ESCAPE '\'
>
>And what would be the syntax equiv to STRTRAN(mycolumn,'[ISO]','') ?

and REPLACE() function here
REPLACE(yourcolumn,'[ISO]','')
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform