Viewing 15 posts - 1 through 15 (of 851 total)
I totally agree, Grant.
I'm looking at introducing "software engineering" as a topic to discuss at work with the data engineers, and introduce them to all of those concepts like encapsulation,...
January 29, 2022 at 7:04 am
I can remember the "revolution" that were things like RPG, Oracle CASE, et cetera, all of which were tools that wrote code for the developer. Much of the time we...
August 10, 2019 at 8:30 pm
There are a few conditions under which that type of merge fails, including when relational integrity is in place. Relational integrity is usually regarded as a "best practice" for data...
February 2, 2015 at 11:32 am
Another way to deal with this issue is by using sequences to pre-load the key values (instead of using identity). You can create a default on the surrogate key...
June 2, 2014 at 5:50 pm
If any of your transactions reference a date prior to the effective date on the dimension, this could get somewhat confusing.
For an initial load, I generally use a "placeholder" date...
February 17, 2014 at 5:50 pm
Some good answers in there. I agree that an ODS is often a part of a data warehouse, which also contains other components like master data repositories, data marts,...
February 17, 2014 at 5:29 pm
If you are creating a lot of them, you might want to check out BIML:
It takes a wee while to learn how to drive it, but once you...
February 17, 2014 at 5:21 pm
I can recommend Jeff Moden's excellent article (and code) here:
Tally OH! An Improved SQL 8K “CSV Splitter” Function[/url]
I should add:
Using the splitter function will convert a string in the form:
A,B,C
to...
February 17, 2014 at 4:52 pm
Jeff Moden (1/21/2014)
January 29, 2014 at 8:03 pm
There's one issue with using the EXCEPT approach as the data source for a subsequent MERGE: it becomes impossible to tell from within the MERGE if rows have been deleted...
January 29, 2014 at 1:05 pm
Herman van Midden (8/20/2013)
I hope you like my solution, although its theoretically maybe not correct, even if Invoices are...
August 20, 2013 at 1:25 pm
Dimensional modelling was something invented by Ralph Kimball (although I'm sure Margy Ross had a great deal of input as well). They came up with the naming standards for...
August 19, 2013 at 5:27 pm
I think format() is part of the .Net stack, and it wouldn't surprise me if there is an overhead to calling out to .Net functions rather than using native SQL...
July 19, 2013 at 5:07 pm
fregatepallada (7/19/2013)
Guys, did somebody mention this 😉 (valid only in SQL Server 2012):
-- Current date
DECLARE @d DATETIME = GETDATE();
SELECT FORMAT( @d, 'dd MMM yyyy', 'en-US' ) AS 'DateTime Result'
Thank...
July 19, 2013 at 4:42 am
Some interesting additional reading here: http://bimlscript.com/
July 17, 2013 at 3:38 pm
Viewing 15 posts - 1 through 15 (of 851 total)