AS SELECT TOP 100 PERCENT 
		PrinterFileDDS.ID, 
		PrinterFileDDS.PrinterFileName, 
		Paths.PathStr AS [Definition Source], 
        Occurrences.StartRow
FROM    (Occurrences INNER JOIN
        Paths ON Occurrences.PathID = Paths.PathID) INNER JOIN
        PrinterFileDDS ON Occurrences.OccurID = PrinterFileDDS.OccurId
WHERE     (PrinterFileDDS.ID IN (Select * from #numeric_param_temp))
ORDER BY PrinterFileDDS.PrinterFileName
