March 3, 2011 at 9:51 am
The function actually works if i run the query, but its highlighted in red in the query window of management studio
'cannot find either column 'dbo' or the user defined function or aggregate 'dbo.fn_ParseNumChars', or the name is ambiguous.
How can this function be improved ? any suggestions ?
March 3, 2011 at 10:10 am
mwwheeler (3/3/2011)
The function actually works if i run the query, but its highlighted in red in the query window of management studio 'cannot find either column 'dbo' or the user defined function or aggregate 'dbo.fn_ParseNumChars', or the name is ambiguous. How can this function be improved ? any suggestions ?
Can you post the exact SELECT statement that causes the error please?
March 3, 2011 at 10:49 am
SQLkiwi (3/3/2011)
mwwheeler (3/3/2011)
The function actually works if i run the query, but its highlighted in red in the query window of management studio 'cannot find either column 'dbo' or the user defined function or aggregate 'dbo.fn_ParseNumChars', or the name is ambiguous. How can this function be improved ? any suggestions ?Can you post the exact SELECT statement that causes the error please?
Good luck. I've been asking for that from the beginning.
March 3, 2011 at 9:07 pm
mwwheeler (2/28/2011)
I basically wanted to use this function to make sure the contents can be safely converted to an integer and not cause an exception (if it contained a word). Is there a more efficient/safer way to do this ?
There certainly is. Please see the following article...
http://www.sqlservercentral.com/articles/IsNumeric/71512/
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 16 through 18 (of 18 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy