The fix | nofix option with dbcc checkalloc, dbcc tablealloc, textalloc, and dbcc indexalloc specifies whether or not the command fixes the allocation errors in tables. The default for user tables is fix. The default for system tables is nofix.
sp_dboption dbname, "single user", true
You can issue this command only when no one is using the database.
Msg 7939, Level 22, State 1: Line 2: Table Corrupt: The entry is missing from the OAM for object id 144003544 indid 0 for allocation page 2560.
The missing OAM entry has been inserted.
The fix | nofix option works the same in dbcc indexalloc as it does in dbcc tablealloc.