I have following query
I need to parse field name "l.ErrorMsgEntry" which has long string all I'm interesting in to get the value left side of ';' (semi colon)
I try but it's not working any help
SELECT COUNT(l.ErrorMsgEntry) AS Error_Qunatity, parsename((l.ErrorMsgEntry,';'), 1)
FROM tblLogEntryTypes AS lt RIGHT OUTER JOIN
tblLogEntries AS l ON lt.LogEntryTypeID = l.LogEntryTypeID
GROUP BY l.ErrorMsgEntry
I need to parse field name "l.ErrorMsgEntry" which has long string all I'm interesting in to get the value left side of ';' (semi colon)
I try but it's not working any help
SELECT COUNT(l.ErrorMsgEntry) AS Error_Qunatity, parsename((l.ErrorMsgEntry,';'), 1)
FROM tblLogEntryTypes AS lt RIGHT OUTER JOIN
tblLogEntries AS l ON lt.LogEntryTypeID = l.LogEntryTypeID
GROUP BY l.ErrorMsgEntry