表 1:产品分布
ProductID
DistrubutionCentrsID
ProductName
DateOrdered
DateDelivered
在交货日期复制到其他表格。
表 2:产品
ProductID
ProductName
DateOrdered
DateDelivered
我写了这个,
INSERT INTO ProductDistribution
SELECT ProductID, ProductName, DateOrdered
FROM Products
WHERE DateDelivered= getdate()
但它给了我一个错误:
在 expersion 中取消定义函数 getdate()