INSERT INTO MINING STRUCTURE [Market Basket]
(
[OrderNumber],[Product] (SKIP, [Model])
)
SHAPE {
OPENQUERY([ContosoRetailDW],'SELECT OrderNumber
FROM V Online Sales Order ORDER BY OrderNumber')}
APPEND
(
{OPENQUERY([ContosoRetailDW],'SELECT OrderNumber, Model FROM
dbo.V_OnlineSalesOrder ORDER BY OrderNumber, Model')
}
RELATE OrderNumber to OrderNumber
) AS [Product]
它给出了那个错误信息——
OLE DB 错误:OLE DB 或 ODBC 错误:“销售”附近的语法不正确。;42000。
怎么了??