Re: [GENERAL] PostgresQL equivalent of NOCOUNT

2001-08-14 Thread Dwayne Miller
Jochem van Dieten wrote: > Dwayne Miller wrote: > >> >> SELECT nextval('mysequence') AS PKEY FROM DUAL; >> ... >> Your inserts and updates using #queryname.pkey# > > > I know, but it has 2 queries again, which is exactly the reason why I > don't want it (I am actually developing this to be use

Re: [GENERAL] PostgresQL equivalent of NOCOUNT

2001-08-14 Thread Tom Lane
Jochem van Dieten <[EMAIL PROTECTED]> writes: >> Uh ... why? Seems like a useless anti-feature. Certainly suppressing >> the count wouldn't save a noticeable number of cycles. > I am not in it for the cycles, just for the laziness ;) > Currently working with a ColdFusion frontend through ODBC,

Re: [GENERAL] PostgresQL equivalent of NOCOUNT

2001-08-14 Thread Tom Lane
Jochem van Dieten <[EMAIL PROTECTED]> writes: > Does PostgresQL have some way to make update, insert and delete queries > not return the number of affected rows? I know that in MS SQL one would > use NOCOUNT for that. Uh ... why? Seems like a useless anti-feature. Certainly suppressing the co

Re: [GENERAL] PostgresQL equivalent of NOCOUNT

2001-08-14 Thread Jochem van Dieten
Tom Lane wrote: > Jochem van Dieten <[EMAIL PROTECTED]> writes: > >>Does PostgresQL have some way to make update, insert and delete queries >>not return the number of affected rows? I know that in MS SQL one would >>use NOCOUNT for that. >> > > Uh ... why? Seems like a useless anti-feature.

Re: [GENERAL] PostgresQL equivalent of NOCOUNT

2001-08-14 Thread Martijn van Oosterhout
On Tue, Aug 14, 2001 at 03:38:08PM +0200, Jochem van Dieten wrote: > Does PostgresQL have some way to make update, insert and delete queries > not return the number of affected rows? I know that in MS SQL one would > use NOCOUNT for that. Just ignore the result. Postgres has to find all the row

[GENERAL] PostgresQL equivalent of NOCOUNT

2001-08-14 Thread Jochem van Dieten
Does PostgresQL have some way to make update, insert and delete queries not return the number of affected rows? I know that in MS SQL one would use NOCOUNT for that. TIA, Jochem ---(end of broadcast)--- TIP 3: if posting/reading through Usenet,