1
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'オブジェクトにアクセスする権限を持っていないか、オブジェクトが存在しません。

4

1 に答える 1