I'm looking for information on writing a stored procedure that can count files in a directory and return a resultset to perform various jobs on depending on a count. For instance, let's say the number ...