This data is not realtime either but its a start...
Create a function in the SQL Database...
Create Function dbo.fnStripTags
(@Dirty varchar(4000))
Returns varchar(4000)
As
BEGIN
DECLARE @Start int, @End int, @Length int
SELECT @Start = CharIndex('>', @Dirty, CharIndex('<t4>', @Dirty))
SELECT @End = CharIndex('<', @Dirty, CharIndex('</t4>', @Dirty))
SELECT @Length = (@End - @Start) - 1
If @Length > 0
BEGIN
SET @Dirty = Substring(@Dirty, @Start + 1, @Length)
END
RETURN @Dirty
END
Run the function on the data field in vHandheldInfo.
SELECT PIN, fnStripTags(data) FROM vHandheldInfo
The <t4> field will occasionally provide the name of the app installed. If I add an additional filter to get rid of entries that are numbers it gives a readable list.
|