Hi,
i am using two databases. d1 and d2
from one data database (d1) i get data and transfers it to (d2).
the transfering sp (uspTransfer) is in (d1) which is called by an other sp(startuspTrn) from master data base of (d1)
because startuspTrn is seduled by
sp_procoption
and startuspTrn keeps on calling uspTransfer after 10 sec.
so i had to use in my query(uspTransfer) d1.dbo.table1 to d2.dbo.table1 which is dynamic query.
Please tel me is snapshot is sutable for this situation.
note: tables of d1 is used by sanpshot transaction of uspTransfer for reading and tables of d2 are used by this snapshot transaction for insertion deletion etc. other session in d2 only read data.
but other sessions except uspTransfer in d1 can insert update delete tabels of d1( only).
yours sincerley