autoincrement question

Поиск
Список
Период
Сортировка
От Jack Albright
Тема autoincrement question
Дата
Msg-id 4ED5AEA8-A4A8-4CFF-A23E-A36A3FD506FC@mobiusnm.com
обсуждение исходный текст
Ответы Re: autoincrement question  ("Sean Davis" <sdavis2@mail.nih.gov>)
Список pgsql-novice
I'm new to the list and new to postgreSQL.
I usually work in mySQL.
I'm using NaviCat to manipulate my postgreSQL db.

QUESTION:
What is the best way for a novice like me to  make my  primary key ID
column   auto-increment?  It is a basic integer column.

  Also, do I need to set a default value  for my primary keys?

In MySQL (using phpMyAdmin) it's a simple matter of checking a
checkbox. What is the recommended way to do this in postgres?

Thanks,

Jack Albright
jack@mobiusnm.com





В списке pgsql-novice по дате отправления:

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Command line output - How to output values only?
Следующее
От: "Sean Davis"
Дата:
Сообщение: Re: autoincrement question