pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Beth Gatewood <beth@vizxlabs.com>
To: pgsql-sql@postgresql.org
Subject: what is the difference between default 0 vs default '0'
Date: Tue, 25 Jun 2002 17:52:34 -0700
Message-ID: <000c01c21cab$c2f35ef0$6901a8c0@bethvizx> (raw)

all-
Could somebody tell me why I would use default 0 vs default '0' in the
following....
CREATE TABLE foo (col1 INTEGER default 0) <-- or default '0'

Thanks-
Beth






view thread (3+ messages)  latest in thread

Message-ID: <000c01c21cab$c2f35ef0$6901a8c0@bethvizx>
Permalink:  ../000c01c21cab$c2f35ef0$6901a8c0@bethvizx/
Also on:    postgresql.org/message-id/000c01c21cab$c2f35ef0$6901a8c0@bethvizx

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: beth@vizxlabs.com
  Subject: Re: what is the difference between default 0 vs default '0'
  In-Reply-To: <000c01c21cab$c2f35ef0$6901a8c0@bethvizx>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox