Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in Execute SQL

Status
Not open for further replies.

developer155

Programmer
Jan 21, 2004
512
US
I am trying to run a query that touches multiple db's on 1 server. SSIS gives me error saying that HouseholdNewsletter is nto associates with alias used in the query. That table is actually native to the db I am connected to. PushmailListGen is actually a different db. Whats going on???

update PushmailListGen..tmpNewsLetterSync

set PushmailListGen..tmpNewsLetterSync.stauts = 1

from HouseholdNewsletter

where NewsletterID = ?

and PushmailListGen..tmpNewsLetterSync.externalid = HouseholdNewsletter.householdid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top