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
Data adapter Insert/Update
dladm show-link -s -i output
"Include inheritable permissions from this object's parent" is gey out in Windows 2008
can't change password through OWA 2010
Plesk and Default Page
Inexpensive IR Transceiver Alternatives?
convert c++ delegate parameters for managed code
Windows 7 Enterprise vs Ultimate?
Calculate current percentage of month that has elapsed
Outlook 2007 stuck Offline