The datatype for field [object_id] in table sys.objects is "int"
So for all the objects in a database this is unique and has a limit of 2,147,483,647 (2 billion'ish)
What happens when there is some process (connecting to this database) that drops and (re)creates a large number of (user defined) tables every hour every day. Does it get to a point, where there can be no more objects created in the database because it ran out of assigning unique object_ids? I read somewhere that sql server does not reuse an object_id that was assigned earlier, if thats the case, it can run out pretty quick, in this situation, right?
Please guide me to some links/articles if this was just a silly question.
Thanks
Best Answer
Looks like the object_ids increase rapidly and roll over frequently. EG
outputs