You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ORDER BY clause can no longer be used with a DELETE statement when there is no LIMIT clause present. Sorting the output should instead be done using SELECT ... FROM [DELETE ...] ORDER BY .... [#34303][#34303] {% comment %}doc{% endcomment %}
The text was updated successfully, but these errors were encountered:
Fixes#4378.
Summary of changes:
- Add new section 'Sorting the output of deletes' to both the `DELETE`
and 'Ordering Query Results' pages.
- Add example section 'Sort an return deleted rows' to the `DELETE` page
- Update all examples on `DELETE` page to use new SQL CLI output table
formatting
- Add SQL code needed for `DELETE` examples in a comment at the bottom
of the page
Fixes#4378.
Summary of changes:
- Update `DELETE`'s `sort_clause` parameter to note that as of 19.1, a
`LIMIT` is required on a `DELETE ... ORDER BY`
- Add new section 'Sorting the output of deletes' to both the `DELETE`
and 'Ordering Query Results' pages.
- Add example section 'Sort an return deleted rows' to the `DELETE` page
- Update all examples on `DELETE` page to use new SQL CLI output table
formatting
- Add SQL code needed for `DELETE` examples in a comment at the bottom
of the page
Fixes#4378.
Summary of changes:
- Update `DELETE`'s `sort_clause` parameter to note that as of 19.1, a
`LIMIT` is required on a `DELETE ... ORDER BY`
- Add new section 'Sorting the output of deletes' to both the `DELETE`
and 'Ordering Query Results' pages.
- Add example section 'Sort an return deleted rows' to the `DELETE` page
- Update all examples on `DELETE` page to use new SQL CLI output table
formatting
- Add SQL code needed for `DELETE` examples in a comment at the bottom
of the page
PR: cockroachdb/cockroach#34303
From release notes:
The text was updated successfully, but these errors were encountered: