Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. what shall I use : JOIN or INNER JOIN

what shall I use : JOIN or INNER JOIN

Scheduled Pinned Locked Moved Database
question
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashu_sharma21
    wrote on last edited by
    #1

    Hi, Please suggest if there is any difference between using keywords JOIN and INNER JOIN? Is there any perfomance advantange in using one of them ? Ashu Sharma Web Analyst

    A C 2 Replies Last reply
    0
    • A ashu_sharma21

      Hi, Please suggest if there is any difference between using keywords JOIN and INNER JOIN? Is there any perfomance advantange in using one of them ? Ashu Sharma Web Analyst

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      JOIN == INNER JOIN. INNER JOIN is implied when using JOIN. No performance difference.

      A 1 Reply Last reply
      0
      • A ashu_sharma21

        Hi, Please suggest if there is any difference between using keywords JOIN and INNER JOIN? Is there any perfomance advantange in using one of them ? Ashu Sharma Web Analyst

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        I use INNER JOIN because it makes my intent clearer to anyone else that has to read the code.


        Cada uno es artifice de su ventura WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums

        A 1 Reply Last reply
        0
        • A Anonymous

          JOIN == INNER JOIN. INNER JOIN is implied when using JOIN. No performance difference.

          A Offline
          A Offline
          ashu_sharma21
          wrote on last edited by
          #4

          Thnx mate ! Ashu

          1 Reply Last reply
          0
          • C Colin Angus Mackay

            I use INNER JOIN because it makes my intent clearer to anyone else that has to read the code.


            Cada uno es artifice de su ventura WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums

            A Offline
            A Offline
            ashu_sharma21
            wrote on last edited by
            #5

            I thought similar but was just wondering about the performance. Thanks anyways! Ashu

            C 1 Reply Last reply
            0
            • A ashu_sharma21

              I thought similar but was just wondering about the performance. Thanks anyways! Ashu

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              If you are worried about performance then use the query analyser and look at the execution plans.


              Cada uno es artifice de su ventura WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups