FIND_IN_SET (Lakehouse v2)
Renvoie la position d’une chaîne dans une liste séparée par des virgules.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.find_in_set(<str>, <strlist>)Exemples Analyze
Section intitulée « Exemples Analyze »func.find_in_set('b', 'a,b,c')
┌───┐│ 2 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »FIND_IN_SET(<str>, <strlist>)Exemples SQL
Section intitulée « Exemples SQL »SELECT FIND_IN_SET('b', 'a,b,c');
┌───┐│ 2 │└───┘