On May 23, 2012, at 9:25 PM, Adam Heath wrote:

> On 05/23/2012 01:13 PM, Jacopo Cappellato wrote:
>> Using count() was simply a trick to be sure to get a record back even if the 
>> entity is empty... but if we use an entity that we are sure is populated we 
>> don't have to use it, of course. Of course if we use count(*) we have to use 
>> it in an entity with a very low number of rows... but I too would prefer to 
>> avoid it.
> 
> select 1;

Thank you Adam, this is the "trick" I was looking for when I mentioned option 
#3 in my first email.
I will test the system with it and then commit.

Jacopo

Reply via email to