I am writing a script that requires everything from a varchar column where the data is purely numeric, and I'm not sure the best way to go about this. I could write it into the script to ignore any data that contains non-numeric characters, but there would be less strain on the system if no invalid data even made it to the script.
Is there a way to create a select statement that will filter out any rows in a column that contains non-numeric data? Any input would be greatly appreciated.
Is there a way to create a select statement that will filter out any rows in a column that contains non-numeric data? Any input would be greatly appreciated.