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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW DO I CHECK WHERE THE FIRST TWO CHARACTERS ARE NUMERIC

Status
Not open for further replies.

2314

Programmer
May 19, 2001
69
IN
HOW DO I CHECK WHERE THE FIRST TWO CHARACTERS OF MY FIELD ARE NUMERIC
 
2314

One method is:
Code:
...Where translate(substr(<colname>,1,2),'^0123456789','^') is null...

Let us know if this does what you wanted.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
@ 10:57 (25Oct04) UTC (aka "GMT" and "Zulu"),
@ 03:57 (25Oct04) Mountain Time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top