• "G0 x" means run the above batch x times.

    Wouldn't that be, "GO x" means return the value x, as the only [and unnamed] column, in the only row of the resultset returned? Or is there some way to "run the above batch" NULL times, that I don't know about?

    An interesting question (even if slightly sick and twisted, from a naming convention perspective) but lost it on the back stretch.

    -MM

    [font="Comic Sans MS"]The Black Knight ALWAYS triumphs. Have at you![/font]