• I am doing only select statements.

    Response "to below86" - regarding execute SQL indirectly by executing a bat file which executes SQL - I am trying something similar now. Need your help to figure it out.

    I made posts on it here and haven't got much help so far -

    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dbcdd59d-469d-49db-a33e-f554d5f915c3/need-help-to-make-sqlcmd-run-as-per-requirements?forum=sqltools#cbff0250-8809-4708-9eb4-f0622360f887

    http://stackoverflow.com/questions/19674377/need-to-understand-output-of-sqlcmd-exe