Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Random link global

(Page 2 of 2)
> >
Quote Reply
Re: [Paul] Random link global In reply to
Actually I'm using:

my $cond = GT::SQL::Condition->new('Banner', 'IS NOT', \'NULL', 'isValidated', '=', 'Yes');
Quote Reply
Re: [xpert] Random link global In reply to
IS NOT NULL and <> '' are different - I think perhaps in this case you need the <> ''
Quote Reply
Re: [xpert] Random link global In reply to
IS NOT NULL will work assuming your column is NULL unless it has a value.

'' is empty, an empty string, which is different to NULL.
> >