From: | Sandeep Joshi <sjoshi(at)Zambeel(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Delete query |
Date: | 2001-01-10 21:39:34 |
Message-ID: | 3A5CD696.736FE695@zambeel.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Sorry, my mistake.
Sandeep
> >
>
> What is wrong with following queries?
>
> Query1:
> delete from zuser where userid = 1 and user_setid = 1;
>
> ERROR: ERROR: Unable to identify an operator '&&' for types 'int4' and
> 'int4'
> You will have to retype this query using an explicit cast
>
> Query2:
> delete from zuser where userid = '1'::int4 and user_setid = '1'::int4;
>
> ERROR: ERROR: Unable to identify an operator '&&' for types 'int4' and
> 'int4'
> You will have to retype this query using an explicit cast
>
> Query3:
> delete from zuser where userid = '1'::integer and user_setid =
> '1'::integer;
>
> ERROR: ERROR: Unable to identify an operator '&&' for types 'int4' and
> 'int4'
> You will have to retype this query using an explicit cast
>
> thanks,
> sandeep
From | Date | Subject | |
---|---|---|---|
Next Message | Martin A. Marques | 2001-01-10 21:51:11 | Re: drop table and references |
Previous Message | Mikheev, Vadim | 2001-01-10 20:39:33 | RE: Transaction Log |