Viewing 15 posts - 121 through 135 (of 600 total)
What is the cash_pickups table? Seems to be in the plan but not the query? Is one of those tables a view? Or do you maybe have a referential integrity...
February 10, 2015 at 1:12 pm
I'd especially like to understand why a derived table is ok but a CTE is not.
February 10, 2015 at 1:07 pm
DonlSimpson (2/10/2015)
February 10, 2015 at 11:36 am
How many rows in floats and how many is it usually trying to delete?
February 10, 2015 at 11:24 am
That's why he is applying that condition in the LEFT JOIN clause.
If there is a matching 'MATH' program, it shows it along with the applicant.
If there is no matching program,...
February 9, 2015 at 3:01 pm
Being that that formula is basically just a mathematical calculation, there really wouldn't be much update to be done.
In your case you may want to change this to an inline...
February 9, 2015 at 2:54 pm
CELKO (2/8/2015)
February 9, 2015 at 12:44 pm
aaron.reese (2/8/2015)
@joe, it would be lovely to live in your SQL bubble where all RDMS is built and managed by people with 20 years experience, a...
February 8, 2015 at 8:32 am
It depends on the output you want
Do you want one result set where each row has either a toy or a widget, and the client they are linked to? ...
February 6, 2015 at 12:39 pm
A sample with closer to the format you requested
CREATE TABLE #MachineGroups (
MachineName VARCHAR(10),
GroupName VARCHAR(10)
)
INSERT #MachineGroups (MachineName,GroupName)
SELECT 'Machine1', 'grp1'
UNION ALL
SELECT 'Machine1', 'grp2'
UNION ALL
SELECT 'Machine1', 'grp3'
UNION ALL
SELECT 'Machine2', 'grp1'
UNION ALL
SELECT 'Machine2', 'grp2'
UNION...
February 6, 2015 at 12:17 pm
Is there a separate table with a list of the machines to check? I ask because you said a machine may have zero groups. Zero groups would mean zero...
February 6, 2015 at 9:46 am
I may have misread your original post, are you using package deployment or project deployment model?
If it is project deployment model, your package should be within an SSIS catalog, and...
February 5, 2015 at 2:54 pm
Out of curiosity, when you run a report on the execution from the catalog, what (if anything) does it say about the script task?
February 5, 2015 at 2:40 pm
In that case, I'd think doing it online is certainly worth a look. Even if you do it only once a week or less, that's an issue if it...
February 5, 2015 at 2:35 pm
jonesboy21 (2/5/2015)
I know for this example the stock_nbr_ky values are the same but they won't always be
Not sure what you mean by this. Your cross apply has priorRecord.stock_nbr_ky...
February 5, 2015 at 1:28 pm
Viewing 15 posts - 121 through 135 (of 600 total)