[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Might ref.consumable substances need to allow an amou
From: |
Jim Busser |
Subject: |
Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero? |
Date: |
Sun, 04 Sep 2011 21:36:09 -0700 |
alter table ref.consumable_substance
add constraint ref_consumable_uniq_subst_amount_unit
unique(description, amount, unit);
should better be case-insensitive? e.g.
alter table ref.consumable_substance
add constraint ref_consumable_uniq_subst_amount_unit
unique(upper(description), amount, upper(unit));
-- Jim
- [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Jim Busser, 2011/09/03
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Karsten Hilbert, 2011/09/04
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?,
Jim Busser <=
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Karsten Hilbert, 2011/09/05
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Karsten Hilbert, 2011/09/05
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Might ref.consumable substances need to allow an amount of zero?, Karsten Hilbert, 2011/09/05