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
Compaq presario 6016us ethernet controller driver
How to build and send multiple tables using sp_send_dbmail
MessageBox with text box
Can I install SQL Server Express on Small Business Server 2003 without messing up the SBS configs
how to get the milliseconds from datetime in dotnetcompact framework
how can i send a diferent image to two monitors pluged to one computer with a VGA Splitter
Create a 'global' macro
How do I check all checkboxes in a .Net Winforms TreeView Control?
How do you access a Frontpage subpage directly through IE
VS2008 - Could not find assembly error ... after upgrading to VS2008