what is the difference between default 0 vs default '0'

From: "Beth Gatewood" <beth(at)vizxlabs(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: what is the difference between default 0 vs default '0'
Date: 2002-06-26 00:52:34
Message-ID: 000c01c21cab$c2f35ef0$6901a8c0@bethvizx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Lee Harr 2002-06-26 02:35:28 Re: what is the difference between default 0 vs default '0'
Previous Message Roberto Mello 2002-06-25 22:03:03 PostgreSQL Cookbook update