Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
I have some data that is dirty, is there a function that can be apllied for each character in a string to determine if its is in between lets say 0-9?I am trying to cast some varchar to float and i get conversion errors, even though when i look at the varchar data in the table , it is in fact a number like 15, and no spaces after it. however it does have something after it but i can't see it. the only way i can see it is if i convert to binary and look at it comparing it to the converstion to binary of '15'so i know there is a difference.THerefore i was thinking to just read char by char and verify if it falls between 0-9does anyone know how to do that?