Giter Club home page Giter Club logo

Comments (2)

jodebrui avatar jodebrui commented on May 19, 2024

Thanks. This is a bug in the Integration procedure. We’ll get this fixed.

From: Jason Farrar [mailto:[email protected]]
Sent: Monday, November 14, 2016 3:16 AM
To: Microsoft/sql-server-samples [email protected]
Subject: [Microsoft/sql-server-samples] Unknown Customers in DW due to NULL BuyingGroupID in WideWorldImporters.Sales.Customers (#154)

I've generated data in the WideWorldImporters database and run the SSIS package to populate the DW database. When I do this I get a large number of transactions with Unknown customers.
The reason appears to be that there are only two buying groups defined in the source database (Tailspin Toys and Wingtip Toys) and the rest of the customers have NULL for their BuyingGroupID. It looks as though this is acceptable, as not all customers would be part of a buying group, but the [Integration].[GetCustomerUpdates] procedure INNER JOIN's on to the BuyingGroups table. Due to this INNER JOIN, I'm only getting customer records in the DW database for Tailspin & Wingtip customers.
I've tried changing the INNER JOIN's in the [Integration].[GetCustomerUpdates] procedure, but this then breaks integrity constaints in the DW database so the customers won't load.
It may be that all customers should have a default BuyingGroup and something has gone wrong during my initial population of data, but I've checked through the scripts and it doesn't look like it.
Can anyone help?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fsql-server-samples%2Fissues%2F154&data=02%7C01%7Cjodebrui%40microsoft.com%7Cca89eab1973b4293c5c908d40c7fac56%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636147189864947121&sdata=e8eLGJkPNL8iFJJwhhZ9iRKFqM1P8qUNMatJkz1fCyY%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMuA9i71CpufZYuz5UbBOpMhJpUw38i0ks5q-EMIgaJpZM4KxNSp&data=02%7C01%7Cjodebrui%40microsoft.com%7Cca89eab1973b4293c5c908d40c7fac56%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636147189864947121&sdata=toDuimup4rFr%2BmDgvk76lg04mFmVNlsfpFXrsHwMpFQ%3D&reserved=0.

from sql-server-samples.

jodebrui avatar jodebrui commented on May 19, 2024

Apologies for the delayed response. The issue was fixed, but I neglected to close the issue.
The fix is checked in, and will be included in the next release of the sample DB.

from sql-server-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.