Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
rudi bruchez
Christian a écrit:
comment puis je faire un select * from matable avec un LIKE qui marche sur une colonne int ou sur une colonne text
Bonjour, Le LIKE fonctionne aussi bien avec un int (par conversion implicite, attention aux performances) qu'avec un text, à utiliser comme avec un (var)char.
-- Rudi Bruchez Consultant indépendant modélisation, administration, optimisation, solutions MS SQL Server et informatique libre. MCDBA, SCJP2 http://www.babaluga.com/
Christian a écrit:
comment puis je faire un select * from matable avec un LIKE qui marche
sur une colonne int ou sur une colonne text
Bonjour,
Le LIKE fonctionne aussi bien avec un int (par conversion implicite,
attention aux performances) qu'avec un text, à utiliser comme avec un
(var)char.
--
Rudi Bruchez
Consultant indépendant
modélisation, administration, optimisation,
solutions MS SQL Server et informatique libre.
MCDBA, SCJP2
http://www.babaluga.com/
comment puis je faire un select * from matable avec un LIKE qui marche sur une colonne int ou sur une colonne text
Bonjour, Le LIKE fonctionne aussi bien avec un int (par conversion implicite, attention aux performances) qu'avec un text, à utiliser comme avec un (var)char.
-- Rudi Bruchez Consultant indépendant modélisation, administration, optimisation, solutions MS SQL Server et informatique libre. MCDBA, SCJP2 http://www.babaluga.com/
Christian
rudi bruchez a écrit :
Christian a écrit:
comment puis je faire un select * from matable avec un LIKE qui marche sur une colonne int ou sur une colonne text
Bonjour, Le LIKE fonctionne aussi bien avec un int (par conversion implicite, attention aux performances) qu'avec un text, à utiliser comme avec un (var)char.
merci
rudi bruchez a écrit :
Christian a écrit:
comment puis je faire un select * from matable avec un LIKE qui marche
sur une colonne int ou sur une colonne text
Bonjour,
Le LIKE fonctionne aussi bien avec un int (par conversion implicite,
attention aux performances) qu'avec un text, à utiliser comme avec un
(var)char.
comment puis je faire un select * from matable avec un LIKE qui marche sur une colonne int ou sur une colonne text
Bonjour, Le LIKE fonctionne aussi bien avec un int (par conversion implicite, attention aux performances) qu'avec un text, à utiliser comme avec un (var)char.