-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
> CREATE UNIQUE INDEX name on table(param1,param2);
>
> How to create such unique index when param2 is bool type, and this param2
> should be accepted only in case of true ?
>
> I tried: CREATE UNIQUE INDEX name on table(par
On Thu, 2005-05-19 at 09:49, [EMAIL PROTECTED] wrote:
> CREATE UNIQUE INDEX name on table(param1,param2);
>
> How to create such unique index when param2 is bool type, and this param2
> should be accepted only in case of true ?
>
> I tried: CREATE UNIQUE INDEX name on table(param1,(param2 = 'tru
[EMAIL PROTECTED] wrote:
CREATE UNIQUE INDEX name on table(param1,param2);
How to create such unique index when param2 is bool type, and this param2
should be accepted only in case of true ?
I tried: CREATE UNIQUE INDEX name on table(param1,(param2 = 'true'));
but it's not working.
CREATE UNIQUE I
[EMAIL PROTECTED] wrote:
CREATE UNIQUE INDEX name on table(param1,param2);
How to create such unique index when param2 is bool type, and this
param2 should be accepted only in case of true ?
I tried: CREATE UNIQUE INDEX name on table(param1,(param2 = 'true'));
but it's not working.
Something like:
CREATE UNIQUE INDEX name on table(param1,param2);
How to create such unique index when param2 is bool type, and this param2
should be accepted only in case of true ?
I tried: CREATE UNIQUE INDEX name on table(param1,(param2 = 'true'));
but it's not working.
Regards,
Mac
-