Díaz
2006-09-14 01:33:51 UTC
Does Mckoi understand escaped underscores in a LIKE
statement? For example,
SELECT * FROM EMAILS_TABLE WHERE EMAIL LIKE '%\_%'
... so that it returns all email addresses
containing underscores.
I tried the backslash but it doesn't seem to work. I
also tried a varied number of backslashes (2, 4, etc),
to allow for Java backslash escaping, regular
expressions, etc., to no avail.
If true, is there a workaround? I can use prepared
statements, but still need to write the right SQL.
Thanks in advance
Gonzalo Díaz
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-***@mckoi.com
statement? For example,
SELECT * FROM EMAILS_TABLE WHERE EMAIL LIKE '%\_%'
... so that it returns all email addresses
containing underscores.
I tried the backslash but it doesn't seem to work. I
also tried a varied number of backslashes (2, 4, etc),
to allow for Java backslash escaping, regular
expressions, etc., to no avail.
If true, is there a workaround? I can use prepared
statements, but still need to write the right SQL.
Thanks in advance
Gonzalo Díaz
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-***@mckoi.com