Thread: Delete help please

Delete help please

From
astri@telusplanet.net
Date:
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


Re: Delete help please

From
Andreas Joseph Krogh
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 December 2003 21:45, astri@telusplanet.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@officenet.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-----

Re: Delete help please

From
Paul Thomas
Date:
On 08/12/2003 20:45 astri@telusplanet.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   |
+------------------------------+---------------------------------------------+