Viewing 15 posts - 46 through 60 (of 141 total)
That's great news, thanks as1981.
If I may be a little bold, I suggest being careful to include the table name when referencing a column (tabusrTelephoneTemp.StaffID instead of...
September 20, 2017 at 12:31 am
Thanks as1981, I recommend trying to appropriate the examples in the Books Online article on PIVOT, first without the dynamic SQL clouding the issue.
If you could do with...
September 18, 2017 at 4:56 am
I believe you need to wrap your @query variable in brackets, as below. Without those, EXECUTE is looking for a stored procedure with the name of "select tabusrProductGroup.title,...".
September 16, 2017 at 8:05 pm
I think your code is working as you need it to, it seems to convert "10/08/16" into a column of DT_DBDATE datatype, which be inserted into an SQL destination DATE...
September 6, 2017 at 8:22 pm
August 20, 2017 at 8:41 pm
You've got two result-sets there - SSRS will only read the first result-set and ignore the second. UNION ALL them to get the expected result, like below. Note the NULL...
July 28, 2017 at 5:12 pm
bmg002's answer is my preference, as it's easiest to implement off-hand.
It looks like you're not passing the output parameter to the executesql statement on the linked server, so...
June 29, 2017 at 5:07 pm
Hi Dan,
I don't think it's possible to do the structure you're suggesting - if I understand things correctly, SQL doesn't behave the way you expect it to with...
June 13, 2017 at 12:42 am
Man, you guys are kind!
sgmunson, I had expected DATEADD and DATEDIFF to automagically use the parsed objects data type. Paying more careful attention, I can see it...
June 7, 2017 at 5:25 am
Yes, it's possible to create a batch file that starts an SSIS package via the DTEXEC executable, using the command option "/Parameter" to pass the relevant information as package parameters....
May 29, 2017 at 12:21 am
Thanks guys, I appreciate the advice. I went with adding a new record to the parent table (tblEmployee) with the new primary key value, updating all referencing column values to...
May 26, 2017 at 10:38 pm
Could you please post your script transformation's code so we can see what you're doing to build the XML? You may also want to attach a data viewer to the...
May 5, 2017 at 8:47 pm
I'm not sure what would be causing this. Here's some approaches I've used to troubleshoot similar situations:
I've had a few situations where re-deploying a report retained the previous parameters...
April 27, 2017 at 5:41 pm
I agree with pietlinden - posting the definition of those views would help identify where the bottleneck is. You may also want to post the estimated query plan for this...
April 21, 2017 at 10:12 pm
The source database is the Microsoft sample database AdventureWorksLT 2012. I'm not sure why everything the user can enter is NVARCHAR, why the email length is 50, why there's only...
April 5, 2017 at 3:16 am
Viewing 15 posts - 46 through 60 (of 141 total)