default values in queries

From: "Felipe Schnack" <felipes(at)ritterdosreis(dot)br>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: default values in queries
Date: 2002-11-15 16:10:28
Message-ID: 20021115151028.M92242@ritterdosreis.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Someone wrote to pgsql general list telling that you could insert the
default value of a column using DEFAULT keyword on pgsql 7.3. Like
INSERT INTO TEST (varcharfield1, varcharfield2) VALUES ('text', DEFAULT)
I was wondering, how I ould do it using PreparedStatements? We should have
something like an "setDefault(int)" method or something?

Felipe Schnack
Analista de Sistemas
felipes(at)ritterdosreis(dot)br
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
felipes(at)ritterdosreis(dot)br
Fone/Fax.: (51)32303328

Browse pgsql-jdbc by date

  From Date Subject
Next Message Steve Pothier 2002-11-15 16:55:37 how can I recover from truncate write?
Previous Message snpe 2002-11-15 14:03:37 Re: streaming result sets: progress