0 0

Clean RDM SQL ConnectionLog


begin tran
declare @xMonths int;
set @xMonths = 6;
delete from [dbo].[ConnectionLog] where creationdate < dateadd(MONTH, - @xMonths, getdate())
commit tran