Report question

Question: How do I "Declare the scalar variable" in a VIEW in Sql Server (2005)