Lansweeper captures my Dell Computer service tag information, with no problem
However, I aslo need to track Dell ExpressServiceCode and Lansweeper does not capture that.
I decided to convert the service tag using a scalar-valued function and then update dbo.tblBIOS
with results.
So far I have:
1. created new view [dbo].[web30repexpressservicecode]
AS
SELECT [ComputerName] AS [Computer Name],[Manufacturer] AS [MFG],[SerialNumber] AS [Tag],
[ExpressServiceCode] AS [Express Service Code]
FROM dbo.tblBIOS
2. created new scalar- function called dbo.f_convert_to_base36
3. testd function by executing the following statement:
SELECT [SerialNumber] AS [hex], dbo.f_convert_to_base36([SerialNumber],36) AS [decimal]
from dbo.tblBIOS
Issue: I'm not sure how to call the function and update column ExpressServiceCode in tblBIOS
with those values?