|
-
SSIS Pavkage
I have created view with sub queries.
Basically query checks audit tables and returns the changes for current date.
It takes about 8 sec to result 8 rows, however it takes forever to export the data to excel from export wizard and using SSIS package. Below is sample of view
Alter view VIEW1 as
Select A, B, filename
from table1
where A+B in (select A+B
from table2
where DATEDIFF(day,Date_Update, GETDATE())=0
UNION
Select A+B
from table3
where DATEDIFF(day,Date_Update, GETDATE())=0
UNIOIN
Select A+B
from Server1.DB.table4
where DATEDIFF(day,Date_Update, GETDATE())=0)
Any ideas what could be the problem? I have linked server to read the datachanges from different server audit table.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|