pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Help on Converting data types
2+ messages / 1 participants
[nested] [flat]

* Help on Converting data types
@ 1998-07-01 09:59 Marcio Macedo <marciom@conectiva.com.br>
  0 siblings, 0 replies; 2+ messages in thread

From: Marcio Macedo @ 1998-07-01 09:59 UTC (permalink / raw)
  To: pgsql-sql

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 ?






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Help on Converting data types
@ 1998-07-01 12:00 Marcio Macedo <marciom@conectiva.com.br>
  0 siblings, 0 replies; 2+ messages in thread

From: Marcio Macedo @ 1998-07-01 12:00 UTC (permalink / raw)
  To: pgsql-sql



--
____________________________
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 ?

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-07-01 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-07-01 09:59 Help on Converting data types Marcio Macedo <marciom@conectiva.com.br>
1998-07-01 12:00 Help on Converting data types Marcio Macedo <marciom@conectiva.com.br>

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