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
 General SQL Server Forums
 New to SQL Server Programming
 Search for Numeric values

Author  Topic 

sangeeta
Starting Member

16 Posts

Posted - 2007-02-09 : 12:47:59
Hi,

Is there a way to search for numeric values in the field.

For eample my table is

create table test (sector varchar(20))

insert into test
values ('Hybrid 3/1')
values ('ARM')
values ('20yr')

is it possible to display
3/1
NULL
20
for the above?

Thanks.

X002548
Not Just a Number

15586 Posts

Posted - 2007-02-09 : 13:18:06
Maybe this will be of some use to you

http://weblogs.sqlteam.com/brettk/archive/2005/06/22/6328.aspx



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

sangeeta
Starting Member

16 Posts

Posted - 2007-02-09 : 15:07:37
Thanks.. I am not good at functions yet and was wondering if we could somehow do it without a function (like in select statements)
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-02-09 : 17:12:40
Does it have anything to do with this topic?
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=78825


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -