Delete help please

Lists: pgsql-jdbc
From: astri(at)telusplanet(dot)net
To: Postgres Java Mailing List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Delete help please
Date: 2003-12-08 20:45:03
Message-ID: 1070916303.3fd4e2cfeedc2@webmail.telus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Hi everyone,

I am a beginner at using java with Postgres and was wondering if anyone could
tell me how to query the database and in particular, delete a row from a table
in my pg database. I don't know what the code is to create or run a query
string in Java. If this question is too vague for a good answer, please let me
know.

Thanks!

AUsmar


From: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
To: Postgres Java Mailing List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Delete help please
Date: 2003-12-08 21:03:29
Message-ID: 200312082203.45810.andreak@officenet.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 December 2003 21:45, astri(at)telusplanet(dot)net wrote:
> Hi everyone,
>
> I am a beginner at using java with Postgres and was wondering if anyone
> could tell me how to query the database and in particular, delete a row
> from a table in my pg database. I don't know what the code is to create or
> run a query string in Java. If this question is too vague for a good
> answer, please let me know.
>
> Thanks!
>
> AUsmar

Reading the documentation allways helps:
http://www.postgresql.org/docs/current/interactive/jdbc.html

- --
Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Managing Director, Senior Software Developer
OfficeNet AS

- - Writing software is more fun than working.

gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/1OcxUopImDh2gfQRAqGBAJ9OSygGJ2pNkhY86+16mCyAxdjCqgCghx+z
zm3+KMdWrUZTd2K5ZRg8AfE=
=rIuJ
-----END PGP SIGNATURE-----


From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Delete help please
Date: 2003-12-08 22:09:52
Message-ID: 20031208220952.C26531@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc


On 08/12/2003 20:45 astri(at)telusplanet(dot)net wrote:
> Hi everyone,
>
> I am a beginner at using java with Postgres and was wondering if anyone
> could
> tell me how to query the database and in particular, delete a row from a
> table
> in my pg database. I don't know what the code is to create or run a
> query
> string in Java. If this question is too vague for a good answer, please
> let me
> know.

Go to http://java.sun.com and work through the JDBC tutorial.

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+