Link to home
Create AccountLog in
Avatar of PashaF
PashaF

asked on

Wild Cards in DB2

Hi!
In SQL 2K server, I am able to use [0-9] to indicate that I am limiting a character within a column to be a number, for example LIKE '[0-9][0-9]ABCD%'.  I have been trying to accomplish the same in DB2 environment and could not find a single reference guiding me how to do it.  Any suggestions how to overcome this?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of BigSchmuh
BigSchmuh
Flag of France image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of PashaF
PashaF

ASKER

BigSchmuh,
Thank you for your reponse.  Unfortunately, POSSTR would make it even more complicated.  DB2 should implement this feature in their future releases.

I'm planning on deleting this topic, since there is no solution....
Well, I don't care of the points but the fact that there is no solution to search for regular expression is a good information...
Avatar of PashaF

ASKER

You are right! :)