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
IOS VPN Configuration for iPhone
DSUM with multiple rows and multiple columns
Windows Server 2008 NLB Issue
VB.Net exe, icon and shortcut
kaspersky 2010 Anti Virus Outlook 2007 html image viewing
Coldfusion -splittext
SQLservr.exe*32 process using large amount of ram and disk activity
Transaction in entity framework
PayPal with CreditCard
Cant install fonts on a Mac