Need to find solution in SQL to check wether a string is in format
aCODE_1111111111
a
- lower case letter
CODE
- Uppercase letter.
Format start with aCODE_
and followed by 10 numbers. aCODE_
should be constant.
IF the input is in aCODE_1234567890
, result is true
IF the input is in aCODE_2256784558
, result is true
IF the input is in ACODE_1234567890
, result is false
IF the input is in aCODe_1234567890
, result is false
IF the input is in aCODE_123456789
, result is false