default values in queries - Mailing list pgsql-jdbc

From Felipe Schnack
Subject default values in queries
Date
Msg-id 20021115151028.M92242@ritterdosreis.br
Whole thread Raw
List 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@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

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


pgsql-jdbc by date:

Previous
From: Steve Pothier
Date:
Subject: how can I recover from truncate write?
Next
From: "Steve Kirby"
Date:
Subject: Re: postgreSQL 7.2.3: jdbc compile problem