In SQL Server, there’s a buildin function to calculate the number of weeks between two dates. This function is called “DateDiff”. The problem with this function is that Sql Server thinks the week starts on sunday. Maybe this it true in some situations but at my current project, the week …
Read More »Monthly Archives: maart 2012
Gratis E-Book: Introducing Microsoft SQL Server 2012
Gratis e-book van Microsoft te download op deze website: Friends, the final and complete version of Introducing Microsoft SQL Server 2012, by Ross Mistry (@RossMistry) and Stacia Misner (@StaciaMisner), is now ready as a free download! You can download the PDF version of this title here (288 pages; 10.8 MB). We …
Read More »Datawarehouse and Datamart – Empty Strings or NULL Values?
I was wondering what’s the best method to store empty fields from source systems in a datawarehouse. For example;a customer record without a first name stored in the database. When loading this record in my datawarehouse, should I set this field to NULL (to save space) or should I load …
Read More »
SQLBlog Nederland Business Intelligence & Datawarehousing