If I am using a hilo generator with nhibernate, what should the datatype for my id column be? int or bigint?
Asked
Active
Viewed 445 times
1 Answers
3
What are the data requirements? If you need more than 2 billion rows, including deletes/rollbacks then go bigint EDIT: I suppose you could start the identity at -2 billion and get double your pleasure

Scot Hauder
- 246
- 1
- 4
-
2otherwise, an int will suffice. – Will Marcouiller Mar 11 '10 at 01:08