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
How do I save one record per report in Access 2007
How to open particular tabPage of TabControl on form load in C#.NET project?
how to get MS Access query "description" text field via VBA
DHCP WINS scope options
visual studio addin deploy for 2005 and 2008
Combo box selection used for an Access query
CASE Statement in SELECT
Looking for a transparent-background-pic<wbr />ture-contr<wbr />ol for MFC
Why do I get "Invalid Qualifier" with the following code
VISUAL FOXPRO - HOW TO NUMBER OF CHARACTERS