I have a requirement where I want to validate a column value which will be something like below.
- It should be 18 characters in length.
- It should not accept any special characters.
Below is the correct value for that column.
INAPDNCHXXXXTW6002
and the query for getting that value is below
SELECT RJ_NETWORK_ENTITY_ID FROM NE.STRUCTURE WHERE RJ_SAPID = P_SAPID;
So, how can I do this in database level