Hi
I have a database that I am loading data to. Within that database is a metadata area with some tables that provide lookup / filters based on business rules
I am importing data from a database on another server and would like to be able to filter the data coming in based on the business rules
What I am looking for is the most efficient (fastest query) way of doing so. Unfortunately I don;t have a nice clean dev environment in wihch to be able to perform speed tests so looking for advice on which of the following would be quickest:
1: Cross server join using linked server in initial extraction query (OLEDB data source)
2: Grab the base data from the dataabse and then use a lookup for the business rules and send non matching rows to rowcount variable (so only rows that meet the business rule criteria get passed on)
3: Merge join (similar setup to lookup)
4: Other......
any advice would be appreciated
Rgds Geoff
----------------------------------------------------------
Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.