July 6, 2012 at 4:30 am
Thanks....I was puzzled why you introduced underscores into the mix. Would [a-z0-9] not be more appropriate (more restrictive) e.g. wouldn't allow funny characters.
July 6, 2012 at 4:55 am
David McKinney (7/6/2012)
Thanks....I was puzzled why you introduced underscores into the mix. Would [a-z0-9] not be more appropriate (more restrictive) e.g. wouldn't allow funny characters.
Yes, laziness from me 😉
Technically, it should probably be like this: -
WHERE fixedPcode LIKE '[A-Z][A-Z0-9][0-9][ABD-HJLNP-UW-Z][ABD-HJLNP-UW-Z]'
OR fixedPcode LIKE '[A-Z][A-Z0-9][A-Z0-9][0-9][ABD-HJLNP-UW-Z][ABD-HJLNP-UW-Z]'
OR fixedPcode LIKE '[A-Z][A-Z0-9][A-Z0-9][A-Z0-9][0-9][ABD-HJLNP-UW-Z][ABD-HJLNP-UW-Z]'
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply