Microsoft
Software
Hardware
Network
Question : SQL Query - Syntax ( SQL 2005 / 2008 )
I have a Table Name - Medications
We have MedicationName - Column
I need to perform -
Select MedicationName from Medications
But " MedicationName " has values - [WORD1 WORD2 WORD3].
I need to pick only WORD1. I need to ignore all characters after space
Answer : SQL Query - Syntax ( SQL 2005 / 2008 )
SELECT LEFT(MedicationName, CHARINDEX(' ', MedicationName + ' ') - 1) AS FirstWord
FROM Medications
Random Solutions
Move Files in a .bat file not working but did earlier in the day on windows server 2003
=SUMPRODUCT formula error
Using simple GDI + with vb.net
Link Tables by Date Range in MS Access
Updating a field based on a Combo Box in a DAP
Free Busy information not available to 2007 Outlook clients
How to change Windows 7 pre-login background image
Desktop app registry and program files access under Vista and Windows7
How to find/replace delete include files in Frontpage
problem with VBA code to operate command on sub-form