Created
July 10, 2013 09:04
-
-
Save eugeneagafonov/5964695 to your computer and use it in GitHub Desktop.
Find all tables without clustered index in SQL Azure in case of 'Tables without a clustered index are not supported in this version of SQL Server.' error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT name | |
FROM sys.objects | |
WHERE type = 'U' | |
AND object_id NOT IN | |
(SELECT object_id FROM sys.indexes WHERE index_id = 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment