I've got a database which imports 2 text files into temp tables, appends them to a single large table, and then drops the temp tables. That bit works perfectly.
I'm now trying to add some form of logging to this. My idea was to make a logging table, and call a query which would capture the...