Re: [SQL] How to Convert Integer to Serial - Mailing list pgsql-general

From Shoaib Mir
Subject Re: [SQL] How to Convert Integer to Serial
Date
Msg-id AANLkTim55Uz34D3AvOX1xOFahvE1zzPHjdXygReg3JoT@mail.gmail.com
Whole thread Raw
In response to Re: How to Convert Integer to Serial  (venkat <ven.tammineni@gmail.com>)
List pgsql-general
On Fri, Oct 29, 2010 at 3:58 PM, venkat <ven.tammineni@gmail.com> wrote:
Dear All,

  I got the solution... Here is my query

ALTER TABLE DemoTable  ALTER gid TYPE INT2;



Are you sure that you have converted here to a SERIAL type?
 
--
Shoaib Mir
http://shoaibmir.wordpress.com/

pgsql-general by date:

Previous
From: Shoaib Mir
Date:
Subject: Re: [SQL] How to Convert Integer to Serial
Next
From: venkat
Date:
Subject: Re: [SQL] How to Convert Integer to Serial