C#
T-SQL
ASP.NET
Javascript
WPF
CSS
FLEX
LINQ
select TABLE_NAME from information_schema.tables where Table_Type = 'BASE TABLE'
Thanks guys this is exactly what I was looking for.
Hi, I am tracing data on application which generated temp tables into TempDB. How can use "select statement" to display these data whereby having table name start with dbo.#xxxxx? Thanks.
Joan,I can honestly say that I don't know.
Hi,use the below to list all the tables:sp_tables
How to get list of all tables and detail about the table (eg: owner name ,view ,triger ,identity,pinned ,filegroup, no of rows etc) in MS SQL Server?Thanks in advance
Try following queries, may be you can find something useful in there:select * from information_schema.COLUMNSselect * from information_schema.KEY_COLUMN_USAGE select * from information_schema.TABLE_CONSTRAINTS