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
 SQL Server Development (2000)
 More in the way of conversion of varchar to numeric

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-10-08 : 09:28:20
Howard writes "Please don't laugh to deeply at my ignorance..

I have a varchar field that contains alpha numeric data that describes a value. Some example records are as follows;

£50 each,
110?,
£204 (sunglass deal withglass,
£84.95,
standard stereo,
£300-£400
Null,

I would like to strip out the numeric value with a view to performing further processing with them, probably in the form of a field in a temporary table.

Could you provide me with an example of a suitable 'stripping routine'??

In anticipantion.

Many thanks

Howard"
   

- Advertisement -