Stored Procs Vs. Dynamic SQL
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...
View ArticleSQL Table Naming Conventions
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...
View ArticleSQL Query By Year
Say you want to query a table returning all the records from a certain year. An easy way to do this is to use SQL’s Year Function as follows: Select * From <Table> Where...
View ArticleSQL Formatting for Easier Debugging
123456SELECT [IssueHistoryID] ,[StafferID] ,[IssueID] ,[Comment] ,[DateCreated]FROM [IssueVision].[dbo].[IssueHistory]This Simple query was created from a demo Microsoft Smart Client Application called...
View ArticleSpace Used By SQL Indexes
1234567891011select [name] As IndexName, type_desc, space_used_in_kb = (page_count * 8.0), space_used_in_mb = (page_count * 8.0 / 1024.0) from sys.indexes Iinnerjoin...
View ArticleMulti-Tenant Data Architecture Reviewed
[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...
View ArticleOklahoma City SQL Server Developers Group Kick Off Meeting
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...
View ArticleCumulative Update Package 2 for SQL Server 2008 Service Pack 1
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...
View ArticleSQL Reporting Services Error Installing TFS 2010
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...
View Article
More Pages to Explore .....