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-11-14 13:54
2009-10-15 14:04
2009-08-14 15:51
2009-08-14 11:38
2009-08-07 19:01
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
|
默认分类(20)
html/css(13)
Php(1)
Perl(5)
Shell(3)
Linux(5)
Bsd(0)
Windows(6)
Javascript(12)
开发管理(12)
web开发(15)
服务器配置(13)
c/c++(0)
Java(0)
股票(6)
Parrot(1)
Postgresql(1)
营销(3)
|