Re: Silly Question about varchar(n)

From: "paul butler" <paul(at)entropia(dot)co(dot)uk>
To: Derek Clarkson <dhc(at)bigpond(dot)net(dot)au>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Silly Question about varchar(n)
Date: 2003-01-29 10:15:39
Message-ID: 0eeba2319101d13PCOW034M@blueyonder.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

From: Derek Clarkson <dhc(at)bigpond(dot)net(dot)au>
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] Silly Question about varchar(n)
Date sent: Wed, 29 Jan 2003 17:03:23 +1100

No maximum
(practically, there may be a limit, but I have never exceeded it)
if you use varchar()
otherwise specifed by number, e g varchar(100)
For extra safety and speed use text datatype,
though this may cause odbc hiccups if that is part of your plans
> Hi guys,
> Whats maximum I can put as the length ? - I can't find it in the doco.
>
> Thanks.
> --
> Derek Clarkson
> Web: http://users/bigpond/net/au/drekka
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

HTH

Paul Butler

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Steve McAllister 2003-01-29 11:44:34 Re: Developing a forms based web application
Previous Message paul butler 2003-01-29 10:09:02 Re: Database connection