|
Re: Format for alphanumeric characters only [message #336685 is a reply to message #336635] |
Mon, 28 July 2008 12:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kaydee08
Messages: 4 Registered: February 2007
|
Junior Member |
|
|
Found something similar to this in one of forum posts, I placed this in WHEN-VALIDATE-TRIGGER of field after applying an
UPPER to vFieldVal. Returning a NULL value would indicate that only letters and\or numbers were found in field. Not sure if there is an alpha-numeric format that can be applied
SELECT LTRIM(RTRIM(vFieldVal, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'),'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789')
INTO vDummy
FROM DUAL;
|
|
|
|