SQL & LINQ
SQL Server, LINQ to SQL, EF, etc.
Over the weekend I spun up a new virtual machine for a practice TFS 2010 Installation. The TFS installation process is much improved. It can loosely be broken into two phases which are installation and configuration. The installation is the easy part which basically prepares the server and copies some bits to the drive. The configuration is a little more difficult but provides some guidance to help make the important decisions. During the configuration you make the following three key decisions. Install WSS 3.0 or use an existing SharePoint installation Install SQL Express...
Issues: SharePoint 2010 Foundation and Server require the Cumulative Update Package 2 for SQL Server 2008 Service Pack 1 to use SQL Server 2008 as the backend Database. Solution: SQL Server 2008 will not install properly on Windows 2008 Server without SQL Server 2008 Service Pack 1. Download Download SQL Server 2008 Service Pack 1. To use SQL Server 2008 for the backend database for SharePoint Foundation or Server download Download and Install Cumulative Update Package 2 for SQL Server 2008 Service Pack 1. Note: Installing the Cumulative Update Package 2 for SQL Server...
Oklahoma City has a new user group thanks to the hard work of Kristin Ferrier. The Oklahoma City SQL Server Developers Group will meet monthly. The Group’s first meeting is Monday April 13th. See details below: Event Details: We are excited to invite you to the first meeting of the Oklahoma City SQL Server Developers Group! Mike Hotek, former SQL Pass speaker, has graciously agreed to be our first speaker. Topic: Q&A with Mike Hotek (open topics are Database Administration and T-SQL in both SQL Server 2005 and 2008) Mike will be open to...
[Dave] first brought Multi-Tenant Data Architecture MSDN Article to my attention a few months ago. Unfortunately, I've had this article in my items to review folder. Anyway, I finally read the article in detail and thought it quite valuable. Basically, the article describes several approaches for designing a Multi-Tenant Data Architecture. It reviews each approach and reviews the pros and cons.
[RoyAshbrook] blogged his thoughts on Multi-Tenant Data Architecture.
Found this query on MSDN SQL Blog and tweaked it a bit. It shows index info including the space used by each index.
This Simple query was created from a demo Microsoft Smart Client Application called IssueVision. To create it I right clicked on IssueHistory table in SQL Server Management Studio 2005. Notice the commas are all to the left of the column names.
How do you name your SQL Tables? Are the names singular or plural? A friend suggested that tables should be singular because they represent a single record instance of data stored in the table. When multiple records are selected then a collection is created.
There are many great topics of debate in software development. DataSets Vs. Objects, Smart Clients Vs. Web Apps, and Stored Procs Vs. Dynamic SQL. Many have argued that writing stored procedures is rigid and doesn't allow for an easy way to build detailed where clauses. Furthermore, SQL Server 2000 caches execution plans so in theory SQL Statements should be optimized if used often. Finally, .NET allows for parameterized queries helping to protect dynamic queries from SQL Interjection.