By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 993 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Table Creation Problem

P: 24
How to Declare a Column which needs to be incremented by 1 in postgreSQL

in DB2 we use COL1 INTEGER AS IDENTITY,
Nov 22 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 700
How to Declare a Column which needs to be incremented by 1 in postgreSQL

in DB2 we use COL1 INTEGER AS IDENTITY,
You can use serial type, or define a sequence and use it in table.
Nov 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.