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

> 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?

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?

Naah.

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com