In this post, we will discuss how to get all user-defined tables in sql server 2008.
You can also check my previous posts on Some Optimization Tips in sql server, Left outer join and Right outer join in SQL Server and Difference between a clustered index and non clustered index in sql server 2008.
Below is the query that will retrieve user-defined tables from the database.
SELECT name AS [TableName] FROM sys.objects where type_desc = ‘USER_TABLE’
SELECT name FROM sys.objects WHERE type = ‘u’
See the figure for output:
Similarly you can also get the modified date like below:
SELECT name AS [TableName],modify_date as [ModifyDate] FROM sys.objects where type_desc = ‘USER_TABLE’
Also, you can check out my previous posts on:
-: FREE PDF e-Book Download :-
51 JSOM Examples in SharePoint Online
You May Also like the Following SharePoint Online Tutorials: