Microsoft
Software
Hardware
Network
Question : Find first word in string
I have a field that could contain the following entries:
Table (Vendor)
VendorName
----------------
Fusion Limited
Fusion Ltd
Fusion, Ltd
Is it possible to have a select statement where it selects the first word in the string, before the space and before the comma? Is this possible?
Answer : Find first word in string
On reflection, mine can be simplified:
SELECT VendorName, LEFT(VendorName, PATINDEX('%[^a-z0-9]%', VendorName + '|') - 1) AS FirstWord
FROM SomeTable
Random Solutions
Latex to Text for Windows
D-Link WBR-2310 iinternet connection problem
Windows Repair in Windows Vista
WinXP Pro Active Directory domain logon
Outlook cache does not retain data
How to deal with different permissions for Administrator and Limited User
Run dll error at every boot-up
Exchange CSVDE - users not in GAL
Driver for ATI Fire GL v5600 (Windows Server 2008 32-bit)? I tried the vista 32-bit driver and it didn't work... any ideas?
Outlook 2003 calendar invitations get bounce back