Good idea, using OUT. I am still learning the finer points of T_SQL.
Unfortunately it gives me an error in SQL Analyzer that it cannot combine vare definition and assignment in same query.
I will try in the Stored Procedure as it sometimes gives different results/errors from SQL Analyzer. I'll work along these lines. Thx.