Re: Global constants

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Mihai Gheorghiu <tanethq(at)earthlink(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Global constants
Date: 2001-09-20 23:33:18
Message-ID: Pine.LNX.4.30.0109210132390.684-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mihai Gheorghiu writes:

> Can there be anything like global constants in PG?

CREATE TABLE my_constant ( val integer );
INSERT INTO my_constant VALUES ( 1024 );

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Keary Suska 2001-09-21 01:04:20 Re: Global constants
Previous Message Vladimir Konrad 2001-09-20 22:42:20 Re: what is wrong with this SQL?