Find difference between two data sets

  • Hello everyone.

    I have a query that I made on the database the output of which is say for example

    Id

    1

    2

    3

    4

    5

    I then made changes to the Database.

    I ran the same query . This time I get

    Id

    1

    3

    5

    I would like to know if there is a way of finding the missing Id's in the second query.

    My query outputs more than 11000 rows.

    Thanks

    L&P

  • Look at the EXCEPT operator. You need to be able to generate both results sets in order to compare them.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply