Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL easy question

Status
Not open for further replies.

sabavno

Programmer
Jul 25, 2002
381
CA
Hi,

What is the right SQL syntax for the query

Select * from Table1 where Field1 is not numeric

I only know VBA function IsNumeric, but don't know SQL function.

Please help

Thanks
 
I don't know if there is an SQL equivalent of this function but in Access queries you can do it like this :

Select * from Table1 where IsNumeric(Field1) = False



 
sabavno:

I would suggest you create your query in query design mode and test it. If it works, just view the query's SQL. You should be able to copy and past the SQL string where you need it.

Vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top