Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Find data in sql table column which is not integer

Posted on 2016-10-10
5
Medium Priority
?
51 Views
Last Modified: 2016-10-10
Hello,
How can I write a query to find  data in sql table column which is not integer.

Cheers
0
Comment
Question by:RIAS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 52

Accepted Solution

by:
Vitor Montalvão earned 2000 total points
ID: 41836974
SELECT *
FROM TableName
WHERE ISNUMBER(ColumnName)=0

Open in new window

0
 

Author Closing Comment

by:RIAS
ID: 41836975
Thanks!
0
 

Author Comment

by:RIAS
ID: 41836978
'ISNUMBER' is not a recognized built-in function name.
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 41836980
Sorry, ISNUMERIC and not isnumber:
SELECT *
FROM TableName
WHERE ISNUMERIC(ColumnName)<>1

Open in new window

1
 

Author Comment

by:RIAS
ID: 41836989
Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question