Saves the query to the specified file.
VBScript
querydef.Save fileName
Perl
$querydef->Save(fileName);