Announcement

Collapse
No announcement yet.

sql * und zusätzliche spalten

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • sql * und zusätzliche spalten

    Hallo Zusammen,

    Mein Anliegen ist nicht sehr kompliziert, aber dennoch führt folgendes SQL-Statement in Oracle zu einem Fehler:
    Code:
    SELECT *, spalteX||spalteY XY FROM table
    Fehler:
    "FROM keyword not found where expected"
    ich verstehe das so, dass nach dem Stern kein "," stehen darf?!

    Wenn ich "*" und die zusätzliche Spalte umdrehe
    Code:
    SELECT spalteX||spalteY XY, * FROM table
    kommt folgendes:
    "missing expression"

    Ist es nicht möglich zu allen Spalten noch zusätzliche Hinzuzufügen?

    Grüsse,
    Marco

  • #2
    Doch, aber Du musst tabelle.* oder ggf. alias.* schreiben.

    Dim
    Zitat Tom Kyte:
    I have a simple philosophy when it comes to the Oracle Database: you can treat it as a black box and just stick data into it, or you can understand how it works and exploit it as a powerful computing environment.

    Comment


    • #3
      Super! Hat funktioniert. Vielen Dank.

      Comment

      Working...
      X