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

Filter field having decimal values only

Status
Not open for further replies.

pratibha14

Technical User
Mar 2, 2004
30
0
0
Hi,

I have a field named Qty which can have decimal values as well. I want to filter records where qty is in decimal (not int)

I did as follow:
select qty from table where qty like '%'||'.'||'%'

but i think this makes query slow. Is there any in-built functio (or any other way) to fetch deciaml records only?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top