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!
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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...
ASKER
You are right! :)
ASKER
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....