• then there is no need to use the query analyzer .

    you can use SQLCMD using DOS prompt ...

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