Re: Converting sql anywhere to postgres - Mailing list pgsql-general

From Peter J. Holzer
Subject Re: Converting sql anywhere to postgres
Date
Msg-id 20230815234322.6ywdvqgtsc3qroat@hjp.at
Whole thread Raw
In response to Re: Converting sql anywhere to postgres  ("Georg H." <georg-h@silentrunner.de>)
List pgsql-general
On 2023-08-15 18:43:11 +0200, Georg H. wrote:
> update mytest.autovalues set product='pear', updated_by=DEFAULT where key=2;
                                                         ^^^^^^^^
Oh, I didn't know that worked. Obvious in hindsight, of course (I've
been using DEFAULT in VALUES(...) for ages) but I never thought of it.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachment

pgsql-general by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: PostgreSQL and GUI management
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Cast INTEGER to BIT confusion