Re: ???Varchar()

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Tourtounis Sotiris <tourtoun(at)csd(dot)uoc(dot)gr>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: ???Varchar()
Date: 2002-09-10 16:34:08
Message-ID: Pine.LNX.4.33.0209101033260.4854-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Do it like this:

create table a (b varchar);

In this usage, varchar is pretty much an alias for text, but some database
front ends find it easier to accept type varchar than text.

On Tue, 10 Sep 2002, Tourtounis Sotiris wrote:

> I have listened that through new Postgresql 7.2.2 version there is also
> the capability of declaring a varchar type without declaring the maximum
> number of storage e.g. create table A(att0 varchar(16)). Is is true?If
> it's how is declared beacuse i can't manage it. Specifically i can't
> declare create table A(att0 varchar()). Does anyone have any idea about
> the subject.Thanks you !
>
>
>
> SWTHRHS TOYRTOYNHS
> (tourtoun(at)csd(dot)uch(dot)gr)
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

  • ???Varchar() at 2002-09-10 09:19:34 from Tourtounis Sotiris

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-09-10 17:21:11 Re: Psql regex is NFA or DFA?
Previous Message Sid 2002-09-10 16:24:37 Connection timeout