Subject Re: [firebird-support] Generators and integer primary key fields
Author Martijn Tonies

> Reading Interbase documentation I notice it says fields recieving
> generator values must be int64. I'm using integer fields now.

Generators on Dialect 1 databases are still 32 bit though. Only
on Dialect 3 database will they be 64 bit.

> Is the problem repeated values when I reach the integer limit?
> I think the integer limit is 2^(32-1) - 1 (about 2 * 10^30) right?


> I can switch to int64, but I don't plan to run out of integers in 10.000
> years of using the application. Should I switch?


With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Upscene Productions
Database development questions? Check the forum!