DTS is used when you have SQL 2000 as your SMS database.
login to your SQL server -> enterprise manager -> right click on your SMS database and go for export -> give your source as 'SQL Server' and your database, and then give destination as Microsoft Access (.mdb), (before this you have to create a black access database from microsoft access), then paste whatever query that you created in the query box..
SELECT DisplayName0,ProdID0 as 'Product ID',count(GroupID) AS [Count Installation]
FROM v_GS_ADD_REMOVE_PROGRAMS
WHERE DisplayName0 LIKE '%'
GROUP BY DisplayName0,ProdID0
ORDER BY DisplayName0 DESC
then go ahead through the steps and finish the export..
Now you will have the result on your .MDB file that you have created...
Is it clear now? did you performed SQL IMPORT/EXPORT method before?
Let me know...