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
 Transact-SQL (2000)
 Query

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2009-05-11 : 11:39:04
I need to generic functions to check if the value is not numeric or not.

Thanks for your help in advance

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-05-11 : 11:39:55
dup thread http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=125461


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2009-05-11 : 11:59:58
Do we have generic functions to check if the value is not date or not.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-05-11 : 12:54:41
you have ISDATE(). but it will try to convert the passed value to date and then return 1 or 0 so even for values like 2009,2008,... it will return 1. what date values are you trying to validate?
Go to Top of Page
   

- Advertisement -