Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Junk Dimension Design

$
0
0
Hello Eveyone,I am struck with Junk dimension.My target table structure is as below. Junk_Dim----------JunkID -- PKJunkTypeID -- PKJunkCodeJunkNameJunkTypeNameBelow values need to be propagated to the Junk Dimesnion.SubscriptionStatus SubscriptionStatus4 Contract End3 Contract Cancelled1 Contract Made2 Contract Start CustomerStatus CustomerStatus1 Customer Start2 Customer End PaymentCode PaymentDesc1 Settled Late2 Settled On Time3 Invoiced4 Past Due5 Not Invoiced-1 N/A DocumentType Document0 Blank1 Payment2 Invoice3 Credit Memo4 Finance Charge Memo5 Reminder6 RefundCaseType CaseType0 Unknown1 Car2 Alarm3 Home4 Security TransportedTocategoryId TransportedTo0 N/A1 Non agreement garage2 Place of work or business3 Auto Salvage / Car Junk Yard4 Home address5 (non agreement garage)6 Police7 Agreement garage directly8 Agreement garage via Comp9 Goverment (Trafikketaten)I have gone through the forums but unable to come up with a solution that would be best way to fill the above Junk dimension structure with the values mentioned.Any help is really appreciated.

Viewing all articles
Browse latest Browse all 3145

Trending Articles