Removing special format numeric values in sql server -


the record looks likes this

current value
- 1. chair
- 2. table
- 8 port switch
- 3. cable
....

desired value

  • chair

  • table

  • 8 port switch

  • cable .....

i have tried expression

substring([column], patindex('%[a-z]%', [column]), len([column])) 

and works fine removing numeric values start of record want skip numeric 8 port switch record.

thanks

the following expression worked out me....

replace([column],left([column],charindex('.',[column],-1)),'') 

thanks


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -