Would count(*) do?

select count(*) from (
  select * from link1
  intersect
  select * from link2
)

On Dec 5, 1:07 pm, "dan.hatfield" <[EMAIL PROTECTED]> wrote:
> Is there a function or another good way to test for an empty result
> set in H2?
>
> Basically, I'm doing:
>
> select * from link1
> intersect
> select * from link2
>
> And I'm looking for a function to test for an empty result set...part
> of my database/etl unit tests.
>
> Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to