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
 General SQL Server Forums
 New to SQL Server Programming
 Finding total character on string

Author  Topic 

sanjnep
Posting Yak Master

191 Posts

Posted - 2008-05-05 : 12:58:00
Hi All,
How to find if , if more than 1 on string?
Like
Address
...........
Maidenhead, Berkshire, No SL6-3QH
Queretaro, 76802
22451-041 Rio de Janeiro, RJ,
Neyork city, 900789
Xing City,Petthity,Thaui90
..................................

I need only
....................
Address
...........
Maidenhead, Berkshire, No SL6-3QH
22451-041 Rio de Janeiro, RJ,
Xing City,Petthity,Thaui90



visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-05-05 : 13:04:20
SELECT Address FROM YourTable WHERE LEN(Address)-LEN(REPLACE(Address,','.''))>1
Go to Top of Page
   

- Advertisement -