Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Content with tag MERGE Rss

   Items 1 to 20 of 27    Older >>
 

Template - Type 6 SCD Stored Procedure

Template to create a Type 6 slowly changing dimension stored procedure  Read more...
By Marie Bayer 2014/03/05 | Source: SQLServerCentral.com | Category: template
Rating: |  Discuss |   Briefcase | 1,085 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2014/01/07 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 4,061 reads

Performance of the SQL MERGE vs. INSERT/UPDATE

The SQL MERGE statement offers convenience, safety and elegance, but how does it perform compared to other methods?  Read more...
By Dwain Camps 2013/10/28 | Source: SQLServerCentral.com | Category: merge
Rating: |  Discuss |   Briefcase | 15,778 reads

Implementing, loading and optimizing a Type 2 Slowly Changing Fact Table

This article shows how to implement a Slowly Changing Facts Table, how to overcome the problems encountered when using the MERGE statement to process the data and suggest a minimal set of indexes to aid data loading and quering.   Read more...
Rating: |  Discuss |   Briefcase | 5,291 reads

Managing Slowly Changing Dimension with MERGE Statement in SQL Server

Slowly Changing Dimension (SCD) Transformation is a quick and easy way to manage smaller slowly changing dimensions but it has several limitations and does not perform well when the number of rows or columns gets larger. Arshad Ali explores some of the alternatives you can use for managing larger slowly changing dimensions.  Read more...
Rating: (not yet rated)  Rate this |   Briefcase | 3,162 reads

A Hazard of Using the SQL Merge Statement

The SQL MERGE statement can make your DML querying more efficient but you need to take care or you may get burned  Read more...
By Dwain Camps 2013/04/03 | Source: SQLServerCentral.com | Category: merge
Rating: |  Discuss |   Briefcase | 13,650 reads

Using the SQL Server MERGE Statement to Process Type 2 Slowly Changing Dimensions

The MERGE statement is powerful and multifunctional, yet it can be hard to master. SOmetimes the MERGE statement that just doesn't do what it's needed to do, like process a Type 2 slowly-changing dimension. Check out this tip to learn more.  Read more...
By Additional Articles 2013/03/08 | Source: MSSQLTips.com | Category: merge
Rating:  Rate this |   Briefcase | 3,092 reads

Merge

By Ole Kristian Velstadbråten Bangås 2013/02/14 | Category: merge
Rating: (not yet rated) |  Discuss |   Briefcase | 1,995 reads

If you are using indexed views and MERGE, please read this!

Here is some information about an important MERGE “wrong results” bug, involving indexed views, that could be affecting the accuracy of your queries right now, and what options you have for working around the problem.  Read more...
By Aaron Bertrand 2013/02/14 | Source: SQLPerformance.com | Category: indexed views
Rating:  Rate this |   Briefcase | 3,951 reads

Stairway to T-SQL DML Level 12: Using the MERGE Statement

The final level of this stairway looks at the MERGE statement in detail, focusing on how to perform insert, update and delete logic using the MERGE statement.  Read more...
By Gregory Larsen 2013/01/16 | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 10,364 reads

Merge, Metadata and the Data Mart ETL

Here's a great method for managing ETL for data marts and small data warehouses with just T-SQL.  Read more...
By Christopher Ross 2012/12/27 | Source: SQLServerCentral.com | Category: etl
Rating: |  Discuss |   Briefcase | 4,478 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2014/01/07 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 4,061 reads

MERGE Statement Generator

Generates the merge statement for a given table.  Read more...
By Mitch Spruill 2012/06/20 | Source: SQLServerCentral.com | Category: merge
Rating: |  Discuss |   Briefcase | 2,307 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2014/01/07 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 4,061 reads

MERGE with OUTPUT clause

A few days back I was presented with a theoretical challenge, and now I thought I would share my solution...  Read more...
By 2012/02/29 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 4,475 reads

Using the MERGE Statement in SSIS Via a Stored Procedure

Step-by-step instructions how to build a stored procedure that dynamically constructs and executes a merge statement within SSIS.  Read more...
By Nicholas C. Smith 2012/01/23 | Source: SQLServerCentral.com | Category: edw
Rating: |  Discuss |   Briefcase | 9,060 reads

Merge statement

By iBar 2011/10/14 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 3,811 reads

Slowly changing dimensions using T-SQL MERGE

Of all the technical solutions to the problem of slowly changing dimensions, the T-SQL MERGE statement is one of the most elegant.   Read more...
By Adam Aspin 2011/06/20 | Source: SQLServerCentral.com | Category: merge
Rating: |  Discuss |   Briefcase | 14,852 reads

Merge error handling

Learn to use recursion to determine which row caused your merge statement to fail in this article.  Read more...
By Greg Nicol 2010/11/02 | Source: SQLServerCentral.com | Category: merge
Rating: |  Discuss |   Briefcase | 5,966 reads

Partitioning in SQL Server 2008

This article discusses about 'Partitioning'. In this detailed article, a particular emphasis is placed on the implementation of Partitioning in SQL Server.  Read more...
By Muhammad Shujaat Siddiqi 2010/10/01 (first published: 2009/04/29) | Source: SQLServerCentral.com | Category: partition
Rating: |  Discuss |   Briefcase | 53,836 reads
   Items 1 to 20 of 27    Older >>
 
Tags
t-sql (11)    
sql server 2008 (5)    
data warehousing (2)    
indexed views (2)    
slowly changing dimensions (2)    
blogs (1)    
business intelligence (1)    
data (1)    
data mart (1)    
data warehouse (1)    
delete (1)    
domain (1)    
edw (1)    
etl (1)    
generate (1)    
generator (1)    
indexes (1)    
indexing (1)    
insert (1)    
integration services (ssis) (1)    
lookup (1)    
metadata (1)    
migration (1)    
multithreaded partition access (1)    
output clause (1)    
partition (1)    
partition aligned index view (1)    
partition elimination (1)    
partitioning and compression (1)    
partitioning and parallel execution (1)    
performance (1)    
recursion (1)    
reference (1)    
sliding windows (1)    
slowly changing dimension (1)    
slowly changing facts (1)    
split (1)    
stairway series (1)    
static (1)    
stored procedure (1)    
switch (1)    
table partition (1)    
template (1)    
update (1)