From: venkata siva prasad <vsp_29@rediffmail.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Insert null in int column
Date: 22 Nov 2010 17:50:55 -0000
Message-ID: <20101122175055.39596.qmail@f5mail-236-221.rediffmail.com> (raw)
Hi,
I have created the table as below.
create table test(id numeric(4),name character varying(8));
I need to insert null as below.
insert into test values(null,'aaa');
But I am getting error as "Integer expecting..."
Can you please help me on this.
Regards,
Prasad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: vsp_29@rediffmail.com
Subject: Re: Insert null in int column
In-Reply-To: <20101122175055.39596.qmail@f5mail-236-221.rediffmail.com>
References: <20101122175055.39596.qmail@f5mail-236-221.rediffmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox