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
What Reference is needed for "Dim db As ADODB.Connection" ?
Computer needs to be started twice
Outlook reply icon not always working
Selecting certain items
Entity Framework and Business Logic
Small parameter windows appears?
MS Access 2007 create csv file - quit excel object without asking to save.
Make a jscript work in all versions of MS Internet Explorer like it works in Mozilla
Prevent printing if specific cells are empty
Excel fx