How do I 'subtract' sql tables?

后端 未结 14 1992
死守一世寂寞
死守一世寂寞 2020-12-05 13:12

Its not really a subtraction I\'m looking for. And I know its not a union or intersection... I have been given a long and complex stored procedure that returns a table of

14条回答
  •  [愿得一人]
    2020-12-05 14:10

    You can just used the first sp that return the Active & Inactive and in WHERE cluse put condition for the document status =inactive, you wil get inactive document only.

提交回复
热议问题