Scott,
>You can use the regex I posted to get rid of the data easily, then go>back to the substr one for a check constraint after that.
regex is non-standard.How to implement this in standard SQL ?
Andrus.