Viewing 6 posts - 1 through 6 (of 6 total)
select name, log_reuse_wait_desc from sys.databases
kill SPID
December 25, 2016 at 1:06 pm
The lazy writer process periodically checks the available free space in the buffer cache between two checkpoints. If a dirty data page (a page read and/or modified) in the buffer...
December 19, 2016 at 3:50 am
DECLARE @filename NVARCHAR(1000);
DECLARE @bc INT;
DECLARE @ec INT;
DECLARE @bfn VARCHAR(1000);
DECLARE @efn VARCHAR(10);
-- Get the name of the current default trace
SELECT @filename = CAST(value AS NVARCHAR(1000))
FROM ::fn_trace_getinfo(DEFAULT)
WHERE traceid = 1 AND property...
December 2, 2016 at 8:56 am
declare @a bigint
set @a='100000000000017777'
select replace(cast(@a as varchar(50)),'0000000000001','')
August 27, 2016 at 2:45 pm
August 27, 2016 at 2:37 pm
Viewing 6 posts - 1 through 6 (of 6 total)