From: John R Pierce <pierce@hogranch.com>
To: PostgreSQL <pgsql-general@postgresql.org>
Subject: Re: How to Convert Integer to Serial
Date: Thu, 28 Oct 2010 22:09:45 -0700
Message-ID: <4CCA5719.4010409@hogranch.com> (raw)
In-Reply-To: <AANLkTimArej9_0ko8piTWsoW9mrsdwOUKJs2cNyLTEuf@mail.gmail.com>
References: <AANLkTimArej9_0ko8piTWsoW9mrsdwOUKJs2cNyLTEuf@mail.gmail.com>
On 10/28/10 9:48 PM, venkat wrote:
> Dear All,
>
> I want to convert integer datatype to serial datatype.. is that
> possible.Please let me know.
>
SERIAL is not actually a data type, its simply an integer with an
associated sequence. what Shoab Mir gave will add this sequence to
the existing integer
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pierce@hogranch.com, pgsql-general@postgresql.org
Subject: Re: How to Convert Integer to Serial
In-Reply-To: <4CCA5719.4010409@hogranch.com>
* 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