| От | Doug Hyde |
|---|---|
| Тема | How to autoincrement a primary key... |
| Дата | |
| Msg-id | 000001c6de7b$3a211c70$6501a8c0@laptop обсуждение исходный текст |
| Ответ на | Re: Group by minute (Scott Marlowe <smarlowe@g2switchworks.com>) |
| Ответы |
Re: How to autoincrement a primary key...
|
| Список | pgsql-sql |
I am sure this is simple, but I don't get it. I am new to PGSQL, coming from MySQL - in mysql, you can autoincrement the primary key; in postgre, I am not sure how to do this. I have read the documentation, and tried "nextval" as the default - I have searched for the datatype SERIAL, but I am using navicat and this datatype is not supported. Can someone tell me how to do this - I just want the integer value for a primary key to autoincrement by one. Thanks, Doug
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера