Re: Leading Zeros

From: Gordon Haverland <ghaverla(at)shaw(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Leading Zeros
Date: 2005-08-03 21:55:54
Message-ID: 200508031555.55920.ghaverla@shaw.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wednesday 03 August 2005 15:23, operationsengineer1(at)yahoo(dot)com
wrote:
> can i use pgsql to force th einput of leading zeros?
>
> i have an application that enters serial numbers
> within a range, eg, 00001 to 00003.

Use a string type, but only allow certain characters.

Gord

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message operationsengineer1 2005-08-04 03:57:20 Re: Leading Zeros
Previous Message operationsengineer1 2005-08-03 21:23:56 Leading Zeros