2
錯誤位於列'whs.description'。它不會給在參加任何錯誤 'ExactOnlineREST.Inventory.Warehouses WHS上Whs.ID = SHO.Warehouse'通過使用無效控制的Unkown索引錯誤:「索引位置275未被使用,最後使用的索引是7」
select Pro.code
, ShopOrderNumber
, SHO.status
, SHO.Description
, ItemVersionDescription
, BOM.CalculatedCostprice
, SHO.PlannedDate
, Whs.description
from ExactOnlineRest.manufacturing.ShopOrders SHO
join ExactOnlineREST.Project.Projects Pro on SHO.PROJECT=Pro.ID
join ExactOnlineXML.XML.ManufacturedBillOfMaterials BOM on "{" + SHO.ItemVersion + "}"= BOM.ID_attr
join ExactOnlineREST.Inventory.Warehouses Whs on Whs.ID=SHO.Warehouse
Group
by Pro.code
, ShopOrderNumber
, SHO.status
, BOM.CalculatedCostprice
order
By Pro.code
, ShopOrderNumber
, SHO.status
, BOM.CalculatedCostprice
*的錯誤是在列‘whs.description’*這列似乎存在是你有錯誤信息還是問題? –