SELECT SCHEMA_NAME(schema_id) ,name FROM sys.tables WHERE OBJECTPROPERTY(OBJECT_ID,'TableHasNonClustIndex') = 0 ORDER BY 1, 2
SELECT name FROM sysobjects WHERE type = 'U' AND id NOT IN (SELECT id FROM sysindexes WHERE indid > 1)
Post a Comment
No comments:
Post a Comment