Thread moved to ASP/VB Script forum

First off, I suspect that the problem is caused by "Option Explicit", which is probably not supported by VB Script (as that is a compile-time option, and VB Script is interpreted instead of compiled).

Next up, why are you trying to delete a system table from a database? If it works (hopefully it wont), that will probably cause severe problems.