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
 Substring

Author  Topic 

Steve95
Starting Member

19 Posts

Posted - 2007-03-19 : 11:59:01
Hi All

Iam new to sql, Iam using sql 2000 and have a field datatype varchar.

An example of the string: -

CN=Leighton Morgan/OU=WR/O=Extranet

I need to write a query that will allow me to extract the following:-

Name: Leighton Morgan
Company: WR
and lastly the word Extranet

Please can you help

Many Thanks

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-03-19 : 12:00:05
duplicate http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=80819


KH

Go to Top of Page
   

- Advertisement -