Wrox Programmer Forums
|
BOOK: Knight's Microsoft Business Intelligence 24-Hour Trainer
This is the forum to discuss the Wrox book Knight's Microsoft Business Intelligence 24-Hour Trainer by Brian Knight, Devin Knight, Adam Jorgensen, Patrick LeBlanc, Mike Davis ; ISBN: 978-0-470-88963-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Knight's Microsoft Business Intelligence 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 26th, 2012, 10:23 AM
Registered User
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson 8 - Try It

In the try it lesson when i try to use 'DiscountPct' i get the following error message

"Cannot map columns of different types.
Column 'DiscountPct' is of type 'System.Decimal' and column 'DiscountPct' is of type 'System.Double'." However I did notice that in your try it video this can be selected. I am presuming we are using the same Database of Adventureworks2008 and AdventureworksDW2008

I will appreciate any assistance rendered
 
Old January 26th, 2012, 02:39 PM
Wrox Author
 
Join Date: Dec 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adventure Works

This could be a small difference between AdventureWorks2008 and AdventureWorks2008R2. The book used the R2 version of the database which can be downloaded here. http://msftdbprodsamples.codeplex.com/
 
Old January 27th, 2012, 08:09 AM
Registered User
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson 8 - Try it

but the videos on the cd are using '08 instead of '08R2 and they have all been working perfectly till now. The main reason why I bought the book in the first place was because of '08R2
I will try '08R2 and see the difference
 
Old February 6th, 2012, 01:37 PM
Registered User
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Lesson 8 - Try it

I still cant use DiscountPct, I had to use another column
 
Old February 12th, 2012, 08:44 AM
Registered User
 
Join Date: Jan 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default fix discount

hi with r2
change the create sql scirpt with

CREATE TABLE [dbo].[DimSpecialOffer](
[SpecialOfferKey] [int] IDENTITY(1,1) NOT NULL
CONSTRAINT [PK_SpecialOffer_SpecialOfferKey] PRIMARY KEY CLUSTERED ,
[SpecialOfferAlternateKey] [int] NULL,
[SpecialOfferDescription] [nvarchar](255) NULL,
[DiscountPct] [smallmoney] NULL,

.... othw you would not see the DiscountPct in the slowing changing dimension wizard... becuase of the incompatibile types in r2...
Mario





Similar Threads
Thread Thread Starter Forum Replies Last Post
Lesson 4 Femi Sonuga BOOK: Knight's Microsoft Business Intelligence 24-Hour Trainer 0 November 25th, 2011 10:25 AM
Lesson 9 MTMike BOOK: Knight's Microsoft Business Intelligence 24-Hour Trainer 3 November 3rd, 2011 01:51 PM
Lesson 4 - Try It brookesmith BOOK: JavaScript 24-Hour Trainer 2 September 15th, 2011 05:40 PM
Lesson 4 Mtheys BOOK: Java Programming 24-Hour Trainer by Yakov Fain 3 September 15th, 2011 05:02 AM
Lesson 8 sergeySE BOOK: Java Programming 24-Hour Trainer by Yakov Fain 1 June 29th, 2011 09:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.