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
Cloning different model computers with multiple network drivers.
Offline Address Book Synchronization Error
Exclude multiple IP addresses from Google Analytics
Word file Corrupted - unable to recover?
viewing actionscript within .fla file
Rendering timeout when calling report through C# code
Access Problem! "The dynamic link library MS09.DLL could not be located"
taking multiple lines of file at a time.............
Setting premission on public folders
How to generate SQL update statement with MS Access 2007