validate item on varchar [message #206873] |
Fri, 01 December 2006 20:07 |
SPRAS881
Messages: 2 Registered: December 2006
|
Junior Member |
|
|
hi
i have a column drug_dosage with datatype varchar, i want to include a validate item for the number in the data so that it cant be <= 0,
i tried to use the rtrim as suggested in previous replies of this forum its working but not properly like
if i have inputs
100 ml
1 per day
10 ml
its trimming 'ml' and 'day' but leaving behind 'per'
how can i make it take only number so that i can validate it
thanks
|
|
|
|
|