Reply to Re: Search Char in SQL query

Your name:

Reply:


Posted by Madhivanan on 07/11/06 14:55

Isnumeric is not reliable
http://aspfaq.com/show.asp?id=2390

Madhivanan


Erland Sommarskog wrote:
> (jaawaad@gmail.com) writes:
> > Actually i was looking for something like ISNUMERIC. I just wanted to
> > pull out rows that contains only numbers and just eliminate the others
> > with chars in them.
>
> isnumeric() is probably not what you want. It returns 1 if the string
> can be converted to any numeric data type. For instance, try
> SELECT isnumeric('1E0')
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация