Microsoft
Software
Hardware
Network
Question : SQL: Pull name from substring .
I am looking to pull out name from a substring, have tried a couple idea's but getting held up on the first name:
Displayed as: Doe, Joseph Moe (Joseph)
Result: Joseph Doe
Any help that can be provided would be much appreciated!
Answer : SQL: Pull name from substring .
SELECT OriginalName, LEFT(OriginalName, CHARINDEX(',', OriginalName) - 1) + ' ' +
SUBSTRING(OriginalName, CHARINDEX('(', OriginalName) + 1, CHARINDEX(')', OriginalName) - CHARINDEX('(', OriginalName) - 1) AS Redone
FROM SomeTable
Random Solutions
Server 2008 R2 DC File Permissions
Vmware and HP msa2324sa dc + DL360 (2) configuration considerations
Installing MAPI CDO on Exchange 2007
Probably an easy question, but how can I set the domain name for use with iis on my lan?
Insert Script from the command prompt
error SQL3126N when loading data from local file to remote DB2 instance
Microsoft Exchange 2010
Complex SQL 2005 Query Help Needed
VB.Net 2008: Send email using richtextbox as Body ignoring Vbnewline and CRLF
PowerShell: How to find a contact in W2k8 R2