If the auto identity option is set in a database, the SAP ASE
server automatically defines a 10-digit IDENTITY column in each new table that is created
without specifying a primary key, a unique constraint,
or an IDENTITY column. To estimate how much extra space is required by this
column:
- In the master database, use sp_dboption to turn
on the auto identity option for the database.
- Create the table.
- Run sp_estspace on the table and record the results.
- Drop the table.
- Turn the auto identity option off for the database.
- Re-create the table.
- Rerun sp_estspace on the table, and record the results.