Forum Replies Created

Viewing 15 posts - 121 through 135 (of 600 total)

  • RE: The dreaded RBAR

    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...

  • RE: How to return top n and sum up the rest

    I'd especially like to understand why a derived table is ok but a CTE is not.

  • RE: values in two columns?

    DonlSimpson (2/10/2015)


    Is this a professional forum, or one for hobbyists? I realize there are plenty of developers who get things dropped in their laps that are outside their expertise,...

  • RE: The dreaded RBAR

    How many rows in floats and how many is it usually trying to delete?

  • RE: How to join the tables to get only record with specific field value in a table

    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,...

  • RE: Help Needed in Calculation

    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...

  • RE: values in two columns?

    CELKO (2/8/2015)


    I want him to leave with more than a kludge he does not understand, so that when he does have "experience, authority or gravitas to engage for a database...

  • RE: values in two columns?

    aaron.reese (2/8/2015)


    Well said Jeff,

    @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...

  • RE: ?? on linking two table to one ??

    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? ...

  • RE: TSQL Help

    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...

  • RE: TSQL Help

    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...

  • RE: SSIS Ignoring Script Task When Package Deployed to SQL Agent

    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...

  • RE: SSIS Ignoring Script Task When Package Deployed to SQL Agent

    Out of curiosity, when you run a report on the execution from the catalog, what (if anything) does it say about the script task?

  • RE: Dicussion about index

    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...

  • RE: query tuning help - cross apply

    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...

Viewing 15 posts - 121 through 135 (of 600 total)