更新时间:2023-11-25 21:13:34
您可以定义另一个用户定义的函数,您可以在其中检查上述要求并返回值。
赞0 - 任何表格都不存在
1-表A中存在
2-存在于表B中
3-存在于两个表中。
只需在需要的地方调用此UDF。
You define another user defined function where you can check above requirement and return a value.
Like 0 - Not exist in any table
1- Exist in Table A
2- Exist in Table B
3- Exist in both table.
Just call this UDF where needed.
您好b $ b
请参阅示例
http://***.com/questions/18924775/check-for-multiple-tables-existence-using-single-exists-query [ ^ ]
Hi
Please see the examples
http://***.com/questions/18924775/check-for-multiple-tables-existence-using-single-exists-query[^]