Hi Guys,
Using SQL query inside OLEDB source I am connecting to a MS Access database and I extract data into a SQL server 2012 table. It works just fine. Below is my query. This job runs every 5 mins.
Transform Min(rf.value)
select s.Datetime, r.sampref from
Replicate r,Sample s, Reference rf, DisplayInfo d where
s.SampNo = r.SampRef AND
r.SampRef =rf.SampRef AND
s.ProdRef= d.ProdRef AND
rf.CompRef=d.CompRef AND
s.SampleId <> '' AND
(r.Remark = '' or r.Remark is null) AND
(r.RepNo = 32000 OR s.NoOfReps = 1) AND
s.DateTime >= DateAdd('d',-1800,Now()) AND
d.header in ('Fat','TS','Protein','Total Protein')
group by s.Datetime, r.sampref
Pivot d.header
I have no control over MS Access db operations(backup and such). MS Access db is the back end for an application.
Problem is my SSIS package fails when MS Access database backup operation kicks in. Actually the backup operation also fails. So to avoid that I have to stop my SSIS package until the back up is finished. Is there a way to avoid the locking on MS Access
db? I only have the ability to make changes to the SSIS package such that it won't lock the database.
PLease help. Thanks in advance.
svk