in reply to (OT) Complex SQL Statement
select * from tbl where coalesce(actual_start, projected_start, some_deep_past) <= curre +nt_date and coalesce(actual_finish, projected_finish, some_far_future) >= curr +ent_date
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (OT) Complex SQL Statement
by massa (Hermit) on Jul 23, 2008 at 20:35 UTC | |
|
Re^2: (OT) Complex SQL Statement
by Pancho (Pilgrim) on Jul 23, 2008 at 19:55 UTC | |
|
Re^2: (OT) Complex SQL Statement
by boblawblah (Scribe) on Jul 24, 2008 at 15:23 UTC |