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
Can I install an external fibre channel tape drive onto a traditional non-fibre channel server by adding a fibre channel board in the server?
ephone is registed but does not work
Workstation Primary Group ID set as Domain Controller
Citrix Online Plugin 12 Deployment - Reconnection options
Winsock error in XP Professional Error 12029 Provider entry MSAFD Could not make an HTTP connection.
use php to create a xml tree and iterate over that tree in jquery
Import Word Doc with Line Numbers into Access
Having mail server go out a specific SonicWALL interface?
SEND AS Permissions problem
Need to monitor specific events in SCOM 2007 R2