declare @LoadFromDate as datetime
set @LoadFromDate = convert(date,getdate()-30);
-- gets everything from last 30 days
select
WQI.KeyValue
,WQI.LastUpdated
,WQI.Loaded
,WQI.Completed
,WQI.Exception
,WQI.Deferred
,WQI.Worktime
,WQI.Data -- Might not be needed but handy if you can extract the data
,WQI.SessionID
,WQI.[Status]
,WQI.ExceptionReason
from XXXXXX.dbo.BPAWorkQueueItem as WQI with (nolock) -- Replace XXXX with your DB name
where WQI.LastUpdated >= @LoadFromDate
;