반응형

/********************************************************************************************
-- Title : [SQL2k8] SP_WHO2에서 LastBatch 출력 시간 오류
-- Reference : sqlnote.springnote.com
-- Key word : sp_who2, lastbatch
********************************************************************************************/

-- exec sp_who2 수행 결과에서 lastbatch시간 오류


-- 원인) convert(varchar, last_batch, 113) 부분이 SQL Server의 Language옵션에 따라 다른 값 출력

-- 해결) SET LANGUAGE US_ENGLISH; 수행 후 sp_who2 수행.
반응형

+ Recent posts