>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.
Let me check it again.Maybe I have some errors in that example
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.