Using sequences are common practice in order to have auto numbering in a PostgreSQL database. The easiest way to create an auto numbered identity field is to use the SERIAL data type macro.
Here is an example:
- CREATE TABLE customer
2009-05-05 16:49
2009-04-21 15:59
2009-03-16 17:46
2009-03-11 14:29
2008-12-30 18:15
2008-12-01 22:01
2008-11-19 10:17
2008-09-16 10:28
2008-09-08 12:53
2008-09-08 09:58
|
默认分类(18)
html/css(13)
Php(1)
Perl(5)
Shell(2)
Linux(5)
Bsd(0)
Windows(6)
Javascript(11)
开发管理(12)
web开发(15)
服务器配置(12)
c/c++(0)
Java(0)
股票(6)
Parrot(1)
Postgresql(1)
营销(3)
|