Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
mikebird
Aged Yak Warrior
529 Posts |
Posted - 2008-03-05 : 09:26:43
|
How can I check properties of tables, not using just Enterprise Manager 2k but in queries & looking at statistics, such as user table sizes, column numbers and sys tables - master, tempdb, model and msdb? I likedselect * from sys.<object types> in 2005I know procedures, tables, views, objects, colums, triggers, and many others. Brilliantbut now in 2k I have select * from sysobjects, syscolumns and sysdatabases so I'm told but this last one doesn't work. Are there any others? |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2008-03-05 : 09:41:23
|
Make use of INFORMATION_SCHEMA views.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
mikebird
Aged Yak Warrior
529 Posts |
Posted - 2008-03-07 : 09:34:41
|
Where's that??Only ever seen that in Crystal Reports connections... and never understood the reason behind that schema |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-03-07 : 09:49:59
|
Its in your SQ db. Just do aselect * from INFORMATION_SCHEMA.TABLES & see |
 |
|
|
|
|