http://qs321.pair.com?node_id=58416


in reply to Weird Results From MS-SQL Value

Replace the printout line with this:
print "The username is ".($RS->Fields(0)->value).".\n";
Then your result will get interpreted correctly. -zeno