This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C4FC92.43C1DDE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
We just changed the postgresql server and got some problem with sql = command in our old server we can exexute this query:=20
SELECT * FROM product WHERE prdtnumber =3D ''
field prdtnumber data type is integer and the empty quote somehow can be = assumed into 0 (zero) Now, if I use the same query it return an error: invalid input syntax for integer: ""
Anyone know what's the problem??
Thanks
Yudie
------=_NextPart_000_0008_01C4FC92.43C1DDE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
charset=3Diso-8859-1">
We just changed the postgresql server = and got some=20 problem with sql command
in our old server we can exexute this = query:=20
SELECT * FROM product WHERE prdtnumber = =3D=20 ''
field prdtnumber data type=20 is integer and the empty = quote somehow=20 can be assumed into 0 (zero)
Now, if I use the same query it = return an=20 error:
invalid input syntax for integer: = ""
Anyone know what's the = problem??
Thanks
Yudie
------=_NextPart_000_0008_01C4FC92.43C1DDE0--
|