select o.name , i.* from sys.objects o inner join sys.indexes i on i.object_id = o.object_id where o.is_ms_shipped = 0 and i.object_id > 100 and i.index_id > 0 order by o.name , i.index_id;
SELECT sobjects.name FROM sysobjects sobjects WHERE sobjects.xtype = 'U'