‎01-13-2015 10:48 PM
Solved! Go to Solution.
‎02-27-2015 02:18 PM
leblanc.daniel.4@hydro.qc.ca wrote:
I am also getting the same message of error, i am using SQL Express
There was an error parsing the query. [ Token line number = 1,Token line offset = 193,Token in error = Select ]
‎01-13-2015 11:14 PM
SELECT Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
( SELECT Top 1
tblQuickFixEngineering.Lastchanged
FROM
tblQuickFixEngineering
WHERE
tblQuickFixEngineering.AssetID = tblAssets.AssetID
ORDER BY
tblQuickFixEngineering.Lastchanged Desc) AS LastQFChange
FROM
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
WHERE
tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now