Subject | Re: Check for existence of at least 1 record in result set |
---|---|
Author | Milan Babuskov |
Post date | 2007-02-08T08:29:19Z |
--- Stefan Heymann wrote:
select 1 from rdb$database
where exists ( INSERT_YOUR_SELECT_HERE );
--
Milan Babuskov
http://www.guacosoft.com
> What is the best and least costly way to check for the existence of atI'm but sure about FIRST, but this should do it:
> least one record in the result set of a SELECT?
select 1 from rdb$database
where exists ( INSERT_YOUR_SELECT_HERE );
--
Milan Babuskov
http://www.guacosoft.com