Select Query

manu

Registered User.
Local time
Yesterday, 21:16
Joined
Jun 28, 2001
Messages
51
I've got a field with all kinds of data, e.g.

1235*285
10*258
1234567
89898750256

I need to select fields: without any special characters, where the field has 7 numeric characters as "1234567" above

All help is much appreciated.

regards,
 
How bout this:

SELECT Table.TableField
FROM Table
WHERE IsNumeric(Table.TableField)=-1
AND Len(Table.TableField)=7;

where Table is <your tablename> and TableField is <your fieldname> ?

Suc6,

RV
 

Users who are viewing this thread

Back
Top Bottom