Oct 23, 2002 #1 glendacom MIS Oct 23, 2002 36 US Is there a function that will tell me if a string is a valid integer. It would work something like this: somefunc('1234') would return TRUE somefunc('12a4') would return FALSE
Is there a function that will tell me if a string is a valid integer. It would work something like this: somefunc('1234') would return TRUE somefunc('12a4') would return FALSE
Oct 23, 2002 #2 SQLBill MIS May 29, 2001 7,777 US You probably want the ISNUMERIC function. Check out the Books OnLine, use the index and go to ISNUMERIC for a description and the syntax. _SQLBill Upvote 0 Downvote
You probably want the ISNUMERIC function. Check out the Books OnLine, use the index and go to ISNUMERIC for a description and the syntax. _SQLBill
Oct 23, 2002 #3 rajeevnandanmishra Programmer Jun 1, 2001 379 IN Glendacom, Try this: SELECT CASE ISNUMERIC('1234') WHEN 1 THEN 'TRUE' ELSE 'FALSE' END Raj Upvote 0 Downvote