I need to perform a chunk of code for each occurrence of a particular variable. I have plenty of sample code to set up a source, destination, and data pump. What I need to know is how to capture a value returned from a sql statement into a variable within VBScript.