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
Set SelectedValue of DropdownList in EditItemTemplate of Gridview. Visual Studio 2005.
Win98SE Root Hub Woes
SCCM Report - Count of all instances of software registered with Add or Remove Programs
Adding attachments to an Access form during dataentry
Windows Server Cannot Update Error number: 0x8024D007
drivers for UMC85c804 or SVGA 256c
SSRS 2005 - Multiple IIF Statement
MSASCUI.exe error on XP Pro
How to add country flags near username on the forum topics?
MS Access Where to put the code to calculate a field using data from a record selected in a subform