Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Only return numbers from an alpha column

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-12-07 : 09:31:17
Robert writes "I have a table with a character column. I only want to list those rows which convert to an integer. For example:

char_field
==========
'AA'
'A1'
'1A'
'11'
'22'

I only want to return '11' and '22'. Any help would be greatly appreciated.

- Robert"
   

- Advertisement -