Hi,
Thanks for reply.Using above query if a customer is Active without any start and end date then it is not coming in the resultset.
We want to check customers who are active on the given date and the ActiveFrom,ActiveTo,FrozenFrom and FrozenTo fields can be blank or can have a value.
We are not using Advanced option for customer is active or not.
Thanks.