Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Which Query execute this query faster

    hi prasad,

    please check the query execution plan for both statements. it shows same plan and costs.

     

  • RE: set System Date with cmdshell

    hi ,

    just put a WAITFOR DELAY '00:00:01' statement after

    SET @dateTest = GETDATE() statement

    Set @SetDateCommand = 'date ' + convert(varchar,@dateLoop,110)

     Execute master.dbo.xp_cmdshell @SetDateCommand 

     SET @dateTest = GETDATE()

     select @dateTest,GETDATE() 

Viewing 2 posts - 1 through 2 (of 2 total)