The dbcc commands for checking the consistency of databases and tables are dbcc checkstorage, dbcc checktable, dbcc checkindex, and dbcc checkdb.