The debate about column-oriented databases and relational databases continues. Conor Cunningham published this post recently, which is a good read.
Fight!
The debate about column-oriented databases and relational databases continues. Conor Cunningham published this post recently, which is a good read.
Fight!
The script below will give a simple list of much space each object within your database uses.
I can’t remember where I got it. If you recognize it, please let know.
| -- Create the temp table for further querying -- Get all tables, names, and sizes -- Set the total_size and total database size fields -- Set the percent of the total database size -- Get the data
|
Sometimes a login has only a limited set of permissions, perhaps readonly credentials to a database or server. However, it might be necessary for this login to run traces and access server info from DMV’s.
The administrator can assign this through SSMS or as T-SQL. This is of course documented in BOL here.
This post is worth reading: