Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Reporting automation using SQL SERVER 2008 R2 Reporting Services

$
0
0
I am a relatively new user of SQL SERVER 2008 R2 Reporting services and am in the process of automating (subscriptions) much of our reporting needs.

I have a batch of reports that follow this scenario that I would like to automate from the current manual process.

I have two separate databases on two different servers. I use ODBC connections to query both servers.

ODBC1 on the first server returns the following data fields:


LN_ACCT.acn
LN_ACCT.ln_sfx
LN_ACCT.col_cd
LN_ACCT.orig_ln_dt
LOAN_ADD.VIN

This is saved as query1


ODBC2 on the second server returns the following data fields:


LN_EXTRA.acct
LN_EXTRA.ln_sfx
LN_EXTRA.col_cd
LN_EXTRA.orig_ln_dt
LN_EXTRA.doc_type

WHERE LN_EXTRA.doc_type = 'COLLATERAL'

This is saved as query 2


Both queries are imported into MS ACCESS as new tables

query1
query2

Left Outer Join query1.acn = query2.acct
Left Outer Join query1.ln_sfx = query2.ln_sfx

Query run to return the following:

query1.acn
query1.ln_sfx
query1.col_cd
query1.orig_ln_dt
query1.VIN
query2.doc_type

Where query2.doc_type does not equal 'COLLATERAL'


I would love to be able to automate this process into SSRS. I understand there may be a way to "link" these two tables and design a report in SSRS that would be able to accomplish my goal.


Any help would be greatly appreciated....

Viewing all articles
Browse latest Browse all 13329

Trending Articles