@AlanWms said:Although it *could* be sabotage, I am guessing it is test code that is used to either drop a bunch of temp tables, or drop regular tables before recreating them. Probably the only way to tell for sure is to look at all the SQL files in foo.FilePath and see where the "---DROP" comments are.More likely it is so that if a person stupidly clicks on the Stored PRoc to run it interactively it does not do damage (i.e. drop the tables), but it functions corectly when properly used in the software.