I have a database that will have a file imported multiple times in a day to be ran through some queries. This file will be different every time. I have a query that selects a random 25 records for a data dump but what is the easiest way to create a report that will change with the new fields each time...
Query:
SELECT TOP 25 tblImport.*
FROM tblImport
WHERE randomizer()=0
ORDER BY rnd(isnull([tblImport].[ID])*0+1);
Query:
SELECT TOP 25 tblImport.*
FROM tblImport
WHERE randomizer()=0
ORDER BY rnd(isnull([tblImport].[ID])*0+1);