select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_TYPE = 'BASE TABLE'
To get the list of User Defined table names..Select * from sysobjects where type = 'u'To get the list of system Defined table names..Select * from sysobjects where type = 's'
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
Copyright ©2003-2010 CoolInterview.com, All Rights Reserved. Privacy Policy | Terms and Conditions Page URL: http://www.coolinterview.com/interview/14963/default.asp?cachecommand=bypass