Aug 30, 2002 #1 crystalhelp Programmer Joined May 13, 2002 Messages 56 Location CA I want to return all tables that don't have an index on a particular field. Can I do that? If so, how? Thanks!
I want to return all tables that don't have an index on a particular field. Can I do that? If so, how? Thanks!
Aug 30, 2002 #2 redlam MIS Joined Jun 28, 2000 Messages 218 Location US This seems to work... select name from sysobjects where type = 'u' and id not in (select id from sysindexes where indid <> 0) Upvote 0 Downvote
This seems to work... select name from sysobjects where type = 'u' and id not in (select id from sysindexes where indid <> 0)