Then just put the variable in the expression followed by an equals sign followed by the paramter
--Mark Tassin MCITP - SQL Server DBA Proud member of the Anti-RBAR alliance. For help with Performance click this link[/url] For tips on how to post your problems[/url]