J'ai un tableau avec une colonne "Remarques" ... Je voudrais rechercher "%" dans cette colonne. Comment je fais ça ?Comment rechercher "%" en table-colonne sql
Merci
J'ai un tableau avec une colonne "Remarques" ... Je voudrais rechercher "%" dans cette colonne. Comment je fais ça ?Comment rechercher "%" en table-colonne sql
Merci
Vous aimez cette
where Remarks like'%[%]%'
vous devez mettre entre parenthèses autour, plus d'infos ici LIKE (Transact-SQL)
SELECT *
FROM YourTable
WHERE CHARINDEX('%', Remarks) > 0
il y a 2 façons, vous pouvez utiliser
where Remarks like '%[%]%'
ou
where Remarks like '%!%%' escape '!'