Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: SQL JOINs vs WHERE statements

by demerphq (Chancellor)
on Aug 18, 2003 at 09:02 UTC ( [id://284502]=note: print w/replies, xml ) Need Help??


in reply to SQL JOINs vs WHERE statements

My understanding is that the join syntax was a later addition to SQL to disambiguate certain classes of where clause. Not all SQL engines support the syntax. Notably Sybase. (Which I use so im not going to get into further as I dont have the option of the first SQL you posted :-)


---
demerphq

<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

Replies are listed 'Best First'.
Re: SQL JOINs vs WHERE statements
by Abigail-II (Bishop) on Aug 18, 2003 at 09:23 UTC
Re: Re: SQL JOINs vs WHERE statements
by mpeppler (Vicar) on Aug 18, 2003 at 09:20 UTC
    Actually Sybase does support ANSI JOIN clauses (as of ASE 11.x, I think). However, as you I'm more comfortable with implicit joins using the WHERE clause (including using the =* and *= operators for inner/outer joins).

    Michael

      (as of ASE 11.x, I think)

      Im looking at a Sybase 11.5 reference manual right now and I can't find it at all. And yes, im much more used to using *= and =* instead. That verbose join syntax always kinda gets me... :-)

      But it is nice to know its available in 12.5


      ---
      demerphq

      <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...
        Ah - I guess it was in 12.0 (or maybe 11.9.2). Thanks for the correction.

        Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://284502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found