The table I'm searching is varchar. The entries I'm interested in are only numeric. But for some reason there's mixed string/int entries. How can I chose only the numeric values?
Questor 0 Newbie Poster
Recommended Answers
Jump to Postpty is right. this should do it for you
select * from tablename where isnumeric(columnname) = 1
All 4 Replies
pty 882 Posting Pro
campkev 0 Posting Pro in Training
Questor 0 Newbie Poster
campkev 0 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.