Issue with Multi-column In predicates are not supported in the DELETE condition.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 12:43 PM
I'm trying to delete rows from a table with the same date or id as records in another table. I'm using the below query and get the error 'Multi-column In predicates are not supported in the DELETE condition'.
delete from cost_model.cm_dispatch_consolidated
where delivery_date in (select delivery_date from cost_model.cm_dispatch_stats)
or order_nbr in (select order_nbr from cost_model.cm_dispatch_stats)What's strange is I do this against another table with no issues. Below is the one that is running fine.
delete from cost_model.cm_order_consolidated
where delivery_date in (select delivery_date from cost_model.cm_order_stats)
or order_nbr in (select order_nbr from cost_model.cm_order_stats)
Labels:
- Labels:
-
Delete