Thursday, June 21, 2007

Update from comparison of two SQL tables

UPDATE o
SET Amount=Price
FROM orders o JOIN items i ON (o.ItemNumber=i.ItemNumber)

UPDATE o SET EmpActive = 0 FROM ComplianceEmployee o
JOIN ComplianceEmployeeLoad i ON (o.EmpID = i.EmpID)

No comments:

Tax Advantages of Retirement Accounts

Introduction to Retirement Accounts and Their Tax Benefits Retirement accounts in the United States serve as essential tools for individu...