Django

Code

Ticket #7055 (closed: fixed)

Opened 8 months ago

Last modified 8 months ago

Join alias sql should not use AS keyword

Reported by: ikelly Assigned to: nobody
Milestone: Component: Core framework
Version: queryset-refactor Keywords: qs-rf
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

Description

When specifying aliases for joins, the optional keyword 'AS' should not be used. Oracle doesn't like it.

Attachments

join_alias_no_as.diff (1.1 kB) - added by ikelly on 04/21/08 16:02:59.

Change History

04/21/08 16:02:59 changed by ikelly

  • attachment join_alias_no_as.diff added.

04/22/08 13:09:56 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [7439]) queryset-refactor: Don't use the "AS" keyword in the FROM-clause. Fixed #7055. Patch from Ian Kelly.

This keyword is optional in SQL, but not permitted by Oracle. If we ever need to support a backend that requires this keyword at some later date, we can make it a connection.feature option, but that's overkill for now.


Add/Change #7055 (Join alias sql should not use AS keyword)




Change Properties
Action