Tag: sql server

Community

Uses For Derived Tables

(Robert Marda) A derived table is a select statement inside parenthesis, with an alias, used as a table in a join. A simple example is: SELECT a.LastName, b.State FROM UserTable a INNER JOIN (SELECT UserID, State FROM AddressTable) b ON a.UserID = b.UserID

Community

Sizing of databases

(Vinod Kumar) This topic is a delicate one to handle. But here is a tool that allows you to analyze how your database is organized. To walk you through some of the detials of the tool. The tool uses excel macro and SQL-DMO to query the database. The data from the database are entered into the corres