I try this query
Insert into mining structure [Bike Buyer]
(
[Customer Key],
[Age],
[Bike Buyer] ,
[Commute Distance],
[Education],
[Gender],
[House Owner Flag],
[Marital Status],
[Number Cars Owned],
[Number Children At Home],
[Occupation],
[Region],
[Total Children],
[Yearly Income]
)
OPENQUERY ([AdventureWorks2008R2],
'SELECT [CustomerKey],[Age],[BikeBuyer],
[CommuteDistance],[EnglishEducation],
[Gender],[HouseOwnerFlag],
[MaritalStatus],[NumberCarsOwned],
[NumberChildrenAtHome],[EnglishOccupation],
[Region],[TotalChildren],[YearlyIncome]
FROM [dbo].[vTargetMail]'
)
但我有这个错误
“mta-PC\mta”用户没有访问“AdventureWorks2008R2”对象的权限,或者该对象不存在。