| От | James Olin Oden |
|---|---|
| Тема | Sequences... |
| Дата | |
| Msg-id | 81Jul26.152515edt.35713@gateway.lee.k12.nc.us обсуждение |
| Ответы |
Re: [SQL] Sequences...
|
| Список | pgsql-sql |
I had a asked this question earlier and did not get a response, so here it is again. When implementing an "autoincrementing" field in several tables, is common practice to create sequence for each table, or is it OK to use just one sequence? I know right off the bat that if there was a requirement that there be no holes in the key for a particualr table that one sequence over multiple tables (like in check register) would not do, but if this requirment is not there, would having one sequnence for all (provided your projected number of total records in all the tables is less than 4 billion) tables be OK? Thanks...james
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера