Geronimo
Requete SQL server
-
geronimo -
geronimo -
Slt a tous,
jarrive pas a faire un 'group by' dans ma requete
En fait, jessaie de récuperer ce qu'il y a entre crochet [] dans un champ description (ca cest OK) et ce que je voudrais cest appliquer un 'count' sur ce mot clef
voici ce que jai fait jusqua present
jarrive pas a faire un 'group by' dans ma requete
En fait, jessaie de récuperer ce qu'il y a entre crochet [] dans un champ description (ca cest OK) et ce que je voudrais cest appliquer un 'count' sur ce mot clef
voici ce que jai fait jusqua present
SELECT mot_clef =
CASE
WHEN (CHARINDEX('[', tro_Description)) < (CHARINDEX(']', tro_description)) THEN SUBSTRING ( tro_description , CHARINDEX('[', tro_Description)+1 , CHARINDEX(']', tro_Description)-CHARINDEX('[', tro_Description)-1 )
END
FROM troubleshooting ORDER BY mot_clef