• If you are using QA then : on the key board press ALT+Q and then m .

    in the Query menu there is SQLCMD mode option

    HTH

    Abhay Chaudhary
    Sr.DBA (MCITP/MCTS :SQL Server 2005/2008 ,OCP 9i)