I assume that an SQL script running on the SQL server would be faster than running a VB app.

So my question is how would you pass a value from a vb app to an SQL script, and then when the script is done, bring a value back to the vb app.

Anyone have any ideas on this subject?

Thanks