Re: Identischer SQL - Befehl liefert zwei unterschiedliche Werte

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Dieter Noeth (dnoeth_at_gmx.de)
Date: 12/06/04


Date: Mon, 06 Dec 2004 15:07:50 +0100

Volker Biedermann schrieb:

> *= empfinde ich nicht als veraltet, tatsächlich gibt es (non MS) RDBMS wo
> das noch viel benutzt wird.

Falls tatsächlich noch ein RDBMS ohne ANSI Join existiert, kannst du es
in die Tonne treten. Selbst Oracle hat inzwischen den proprietären
Unsinn mit (+) aufgegeben.
Und jedes DBMS hat andere Regeln für die alte Syntax, du kannst also
nicht leicht portieren.

> Joins (welche auch immer) kann ich viel
> intuitiver mit dieser "veralteten" Schreibweise erzeugen.

Du gewöhnst dich schnell an die neue Syntax, da sie
- weniger fehleranfällig ist: eine Join-Bedingung kann nicht vergessen
werden
- besser lesbar ist: keine Suche, ob es nun eine Join- oder
Where-Bedingung ist
- portierbar ist: alle haben es exakt gleich implementiert

>>Und da die Syntax eh veraltet ist, solltest Du darauf verzichten und
>>ausschliesslich die ANSI-JOIN Syntax verwenden.
>
> Ist die "veraltete" Schreibweise nicht sogar "T-SQL"?

"T" und nicht "ANSI".

Dieter



Relevant Pages

  • Re: Stored Procedure Syntax
    ... There is no such thing as "other DBMS". ... dialect of SQL or its own syntax. ... You cannot compare them because it does ...
    (microsoft.public.data.ado)
  • Re: Parallel multi-relational collections
    ... Oracle, SQL Server, DB2, Informix, ... I think that DB2 is the only that supports this. ... different syntax for the same: ... With the rest of the DBMS you should write an stored procedure. ...
    (comp.object)
  • Re: What databases have taught me
    ... What if the dbms has relvars x and y and R has attributes x and y? ... I'm not familiar enough with this syntax to say much. ... possibly syntactic support. ... human-readable language and use something unambiguous internally. ...
    (comp.databases.theory)
  • Re: ADO-Recordset mit Inner Join nicht updatebar ???
    ... Macht man das im SQL-String, der das Recordset-Objekt definiert? ... gibt es für die Syntax bestimmt Regeln. ...
    (microsoft.public.de.vb.datenbank)
  • Re: Need to return Data Across DataSet Tables...
    ... Table A is filled from a DBMS and Table B is updated from the application ... > You will need to get the syntax right for the particular DBMS you are ... > Kerry Moorman ...
    (microsoft.public.dotnet.framework.adonet)