- Joined
- Dec 13, 2007
- Messages
- 1
- Reaction score
- 0
Hi
I have 2 tables that I ran a unmatched query on, now i want to delete the unmatched data from the first query and its giving me issues. here is what I have
DELETE [120707 SAP Contract Extract].[Customer number], [120707 SAP Contract Extract].[Customer Name], [120707 SAP Contract Extract].[Material Number], [120707 SAP Contract Extract].[Material Description], [120707 SAP Contract Extract].Rate, [120707 SAP Contract Extract].Currency, [120707 SAP Contract Extract].[Pricing unit], [120707 SAP Contract Extract].[Unit of measure], [120707 SAP Contract Extract].[Validity start date], [120707 SAP Contract Extract].[Validity end date], [Oracle OKC Final (2)].[Item Number]
FROM [120707 SAP Contract Extract] LEFT JOIN [Oracle OKC Final (2)] ON [120707 SAP Contract Extract].[Material Number] = [Oracle OKC Final (2)].[Item Number]
WHERE ((([Oracle OKC Final (2)].[Item Number]) Is Null));
I continue to get the error message "Specify the table containing the records you want to delete"
Please help
I have 2 tables that I ran a unmatched query on, now i want to delete the unmatched data from the first query and its giving me issues. here is what I have
DELETE [120707 SAP Contract Extract].[Customer number], [120707 SAP Contract Extract].[Customer Name], [120707 SAP Contract Extract].[Material Number], [120707 SAP Contract Extract].[Material Description], [120707 SAP Contract Extract].Rate, [120707 SAP Contract Extract].Currency, [120707 SAP Contract Extract].[Pricing unit], [120707 SAP Contract Extract].[Unit of measure], [120707 SAP Contract Extract].[Validity start date], [120707 SAP Contract Extract].[Validity end date], [Oracle OKC Final (2)].[Item Number]
FROM [120707 SAP Contract Extract] LEFT JOIN [Oracle OKC Final (2)] ON [120707 SAP Contract Extract].[Material Number] = [Oracle OKC Final (2)].[Item Number]
WHERE ((([Oracle OKC Final (2)].[Item Number]) Is Null));
I continue to get the error message "Specify the table containing the records you want to delete"
Please help
Last edited: