Subject | Re: [firebird-support] conditional selects in a SP |
---|---|
Author | Markus Ostenried |
Post date | 2007-11-19T12:08:02Z |
I haven' tried this, but can't you just write
where (H.Haul_Code=:supphaul or :supphaul is null)
and A.code=H.haul_code
and then just pass NULL to :supphaul if you want all records?
HTH,
Markus
where (H.Haul_Code=:supphaul or :supphaul is null)
and A.code=H.haul_code
and then just pass NULL to :supphaul if you want all records?
HTH,
Markus