Wrox Programmer Forums
|
BOOK: Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer
This is the forum to discuss the Wrox book Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer by Brian Knight, Devin Knight, Mike Davis, Wayne Snyder; ISBN: 978-1-1184-7958-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Knight's Microsoft SQL Server 2012 Integration Services 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 June 5th, 2015, 12:14 PM
Registered User
 
Join Date: Jun 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson 12 SQL Task

Lesson 12 seemed to be a pretty simple concept and perhaps it is but this being my first exposure to SSIS I am apparently missing something.

I can work the example in the book and it works flawlessly so I am thinking that I could modify the example and change result set to a string variable and amend my SQL statement so that instead of returning COUNT(*) for a ProductID it returns the "Name" value for that ProductID.

This however errors out in the SQL Task component of the package BUT when I declare the variable in SSMS and set it to 316 my SQL query performs just as you would expect and returns the "Name" value of "Blade".

What am I missing in SSIS SQL Task that would allow me to successfully execute package?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Lesson 15 - Using the Send Mail Task CHARLIE3402 BOOK: Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer 0 November 23rd, 2014 11:47 AM
Lesson 12, Step 5: Question about Interface klp1958 BOOK: iPhone and iPad App 24-Hour Trainer 1 January 11th, 2014 04:47 PM
Lesson 12 mrubin78 BOOK: JavaScript 24-Hour Trainer 5 June 21st, 2013 10:01 AM
Lesson 12 Try It! John S BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 3 June 7th, 2013 01:02 PM
Lesson 13: Task weird output gbargsley BOOK: Knight's 24-Hour Trainer: Microsoft SQL Server 2008 Integration Services 0 August 3rd, 2011 11:07 AM





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