Viewing 15 posts - 406 through 420 (of 5,685 total)
sqldriver (2/18/2014)
February 18, 2014 at 1:39 pm
It's due to the logic break.
You get the last date from the table for @Month, and then compare that to the month for GETDATE() (which, btw, will be REALLY screwy...
February 18, 2014 at 1:38 pm
99% of the time this is a syntax error.
I don't use C#, I use VB.NET, but DTS.Variables("VariableName").value.ToString() is usually how it's written, not with [].
February 18, 2014 at 12:35 pm
sqldriver (2/15/2014)
February 18, 2014 at 12:23 pm
Start on the target, and find the spid for the SSIS component running. Try to determine most common wait type. If it's PageLatchIO or another variant on disk...
February 18, 2014 at 12:19 pm
Grant,
that's a very interesting result you found there, but I guess I should have restated my question. The order does matter, but not for the reasons you checked. ...
February 13, 2014 at 4:04 pm
I'm going to fire a bombshell that will probably get me shot, but here it is:
I rarely use FKs.
Not because I trust the application, I don't. I could throw...
February 13, 2014 at 4:02 pm
Jack Corbett (2/13/2014)
February 13, 2014 at 12:31 pm
If you take a look at the second link in my sig (index/tuning help) you'll see some pieces we need to help you. Even though you can't get an...
February 13, 2014 at 11:43 am
Gillian_Pappas2002 (2/13/2014)
February 13, 2014 at 11:36 am
Grant,
My understanding was the short circuit capabilities of the CASE statement would improve performance, but in a limited variety.
Instead of a simple data change on the table with no where...
February 13, 2014 at 11:23 am
There's not enough there to actually write you a statement, but I'll give you the layout:
UPDATE co
SET fielda = sumFieldb
FROM
Table1 AS co
JOIN
(SELECT
keyfield,
SUM(something) AS sumFieldb
FROM
tabl2
GROUP BY
keyfield
) AS...
February 13, 2014 at 11:10 am
Phil Parkin (2/12/2014)
your best bet is to export the file from the msdn and ...
And if that fails, you could also try MSDB 😀
Grumble mutter... mistypes... grumbles..... Hush you! ...
February 13, 2014 at 11:06 am
Glad you got it working. Yes, datatypes can be frustrating sometimes in SSIS but honestly, you'll get used to them (and the errors, due to seeing them a few...
February 13, 2014 at 11:05 am
CI in databases is a thorn in my side, and has been for a long time. The reason for this is the intricacies the code needs to have to...
February 13, 2014 at 10:59 am
Viewing 15 posts - 406 through 420 (of 5,685 total)