title: stored procedure declaration error
body: <p>I am new with stored procedure.</p>
  
  <p>I am taking value of column in one variable and checking it with If block.</p>
  
  <p><strong>My code for this is as follows:</strong></p>
  
  <pre><code>  create proc billRet 
  as 
  BEGIN
  DECLARE @amt float
  set @amt=select amount from bill where Id='2425'
  If (@amt&gt;1100.50 )
  Begin
  select @amt
  print 'Amount greater '+@amt;
  END
  Else
  Begin
  select @amt
  print 'Amount Smaller'+@amt
  END
  END
  Go
  </code></pre>
  
  <p>Its showing me error on print statement and declaration of @amt variable.</p>
  
  <p>please tell me Where i am making mistake.</p>
  
  <p>Please help me.</p>