And what will you be running this code from?

VB6? VB.NET? Query Analyser? Something else?