• I'm not aware of any solution other than that originally offered for this chain of posts.... In your case, use PowerShell to run a VBScript with ADO code and insert the string into a single-record table and then use that table as the string source for your T-SQL script.

    Steve (aka sgmunson) 🙂 🙂 🙂
    Rent Servers for Income (picks and shovels strategy)