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
IIS Web site works in all browsers except Safari on Mac
notification
Http dynamic Compression not work if We using text/html
parse url in JavaScript
Dual WAN on a Fortigate 60
Should Sys Admins (Domain Admins) also have user accounts?
DR solution for data warehouse
Backup Exec 2010 can not view DAG, Exchange 2010
SCCM 2007 collection by OU not showing all pc's
Email account got spoofed?