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 to reset inheritance on all Sharepoint subsites?
Lost User Id and Password for Windows Server 2003 Standard Edition
How do I set up a System Centre Configuration Manager Console?
SQL qyestion
Add calculated column to subform data sheet
SQL QUERY
How to Submit HTML Form in VB.Net
"The project location is not trusted." error when in XP Mode
Error in Certificate Request....
What is continue keyword in C++ is in VB.Net