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
lotus notes for windows 98
Windows Update returns Error 403 forbidden
SCCM Dependancy on NetBios
Windows Vista Home Premium Password Issue
Disable printing in Internet Explorer (Want to prevet printing Sharepoint Lists)
How Display bitmap data (a variable, not a file) into a Picture Box with MFC or WIN32 ?
change range names with VBA?
Error on Running Powerpoint from Access
problem using DAO.Workspace and connecting to Access Database
Looking for a transparent-background-pic<wbr />ture-contr<wbr />ol for MFC