Results 1 to 5 of 5

Thread: intersection in SQL server 2000

  1. #1
    Junior Member
    Join Date
    May 2007
    Answers
    7

    intersection in SQL server 2000

    hi,

    What is the syntax for INTERSECTION Function in SQL server 2000?

    I tried the following syntax, but it is not working

    select from
    intersect
    select from

    intersect({[1],[2]},{[1]})

    these two r showing syntax error

    Please, share ur knowledge about these

    Thanks in advance,
    Vishnu


  2. #2
    Junior Member
    Join Date
    Jun 2007
    Answers
    28

    Re: intersection in SQL server 2000

    you can Use Inner Join for the operation of intersection


  3. #3
    Junior Member
    Join Date
    May 2009
    Answers
    1

    Re: intersection in SQL server 2000

    What is the syntax for INTERSECTION Function in SQL server 2000?

    I tried the following syntax, but it is not working

    select from
    intersect
    select from
    the error is:Incorrect syntax near the keyword 'intersect'.


  4. #4
    Contributing Member
    Join Date
    Jun 2009
    Answers
    76

    Re: intersection in SQL server 2000

    Quote Originally Posted by vishnukumar View Post
    hi,

    What is the syntax for INTERSECTION Function in SQL server 2000?

    I tried the following syntax, but it is not working

    select from
    intersect
    select from

    intersect({[1],[2]},{[1]})

    these two r showing syntax error

    Please, share ur knowledge about these

    Thanks in advance,
    Vishnu

    Try this query in SQL server 2005


  5. #5
    Junior Member
    Join Date
    Feb 2010
    Answers
    3

    Re: intersection in SQL server 2000

    select from intersection
    select from


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact