Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TSQL equiv of str$str without full text indexing
Message
 
 
À
11/11/2011 10:56:31
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01528654
Message ID:
01528655
Vues:
64
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform