BSF: RegExp

Beitrag lesen

Hi,

hm, okay, ich korrigiere :
Aus --> "select xyz from table1 where lower(col1) like ('A%')";
soll das werden --> "select xyz from table1 where lower(col1) like lower('A%')";

Ich hoffe, das macht so mehr Sinn.

Danke und Gruss,

BSF

Hi,

Also z.B. hieraus --> "select xyz from table1 where col1 like 'a%' and col2 like 'b%'"
soll folgendes werden --> "select xyz from table1 where col1 like LOWER('a%')
and col2 like LOWER('b%')"

Hm. Und wo ist der Sinn dahinter? LOWER('a%') unterscheidet sich nicht von 'a%'.

Wenn Du
LOWER(col1) LIKE 'a%'
draus machen würdest, hätte das eher eine Auswirkung ...

cu,
Andreas