pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcio Macedo <marciom@conectiva.com.br>
To: pgsql-sql@postgresql.org
Subject: Help on Converting data types
Date: Wed, 01 Jul 1998 12:00:23 +0000
Message-ID: <359A24D4.31191C75@conectiva.com.br> (raw)



--
____________________________
Marcio Macedo
marciom@conectiva.com.br
Conectiva Internet Solutions
It's Red Hat Linux !!!
Hi...

I need to convert a char field to a integer filed in order to increase
the value: something like this

COD_Customer char(6)   ex.: 410023 (suposing that this is the last code
added)

So, when I insert a new customer I need  the code 410024.... and the
next will 410025... etc...
How can I do that ?

view thread (2+ messages)

Message-ID: <359A24D4.31191C75@conectiva.com.br>
Permalink:  ../359A24D4.31191C75@conectiva.com.br/
Also on:    postgresql.org/message-id/359A24D4.31191C75@conectiva.com.br

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: marciom@conectiva.com.br
  Subject: Re: Help on Converting data types
  In-Reply-To: <359A24D4.31191C75@conectiva.com.br>
  References: <359A24D4.31191C75@conectiva.com.br>

* 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