Forum Replies Created

Viewing 15 posts - 481 through 495 (of 7,164 total)

  • RE: lookup on multiple fields in SSRS 2008R2

    Are both datasets coming from the same data source? If so, is joining them at the source an option?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need to calculate nth day of nth month

    Here is what a query using my calendar table would look like:

    SELECT TOP 1

    t.PlanID,

    t.TaskInstructions,

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Muting the Immutable

    There are plenty of ways of circumventing local restrictions of what you can, or can't, do in the database build process, but it would be much better if these arbitrary...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Retrieve specific cell value from Excel into SSIS variable

    Jeff Moden (1/16/2016)


    Orlando Colamatteo (1/16/2016)


    Jeff Moden (1/15/2016)


    murtzd (12/17/2015)


    Hi all,

    I'm experiencing a very frustrating issue. I am using the guide below to read a cell value in Excel into a SSIS...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Retrieve specific cell value from Excel into SSIS variable

    Jeff Moden (1/15/2016)


    murtzd (12/17/2015)


    Hi all,

    I'm experiencing a very frustrating issue. I am using the guide below to read a cell value in Excel into a SSIS variable;

    http://www.techbrothersit.com/2013/11/ssis-read-excel-cell-value-in-ssis.html

    It works very well...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need to calculate nth day of nth month

    ScottPletcher (1/16/2016)


    Orlando Colamatteo (1/16/2016)


    ScottPletcher (1/16/2016)


    It's more efficient to avoid I/O when you can.

    There could be a trade off for CPU and coding effort. If you wrapped the calculation into an...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need to calculate nth day of nth month

    ScottPletcher (1/16/2016)


    It's more efficient to avoid I/O when you can.

    There could be a trade off for CPU and coding effort. If you wrapped the calculation into an iTVF (which we...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need to calculate nth day of nth month

    ScottPletcher (1/16/2016)


    Simple mathematical calcs could give you any of those dates, with no need for I/O against a table. But I'm also not attempting actual code without existing data...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Multiple Records into one

    There is a repro and explanation is in the SSC Forum thread linked to in the Connect item albeit using an expression in the ORDER BY:

    http://www.sqlservercentral.com/Forums/Topic607455-145-1.aspx

    Here is another repro using...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Multiple Records into one

    I'll dig/work one up and post back.

    The XML technique is OK, just, OK. And if used I prefer to add TYPE to avoid entitization.

    For CLR http://groupconcat.codeplex.com will get you...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Multiple Records into one

    Luis Cazares (1/14/2016)


    SELECT @Notes = @Notes + CONVERT(char(11), DATE, 103) + NOTES + CHAR(10)

    FROM tblNOTES

    WHERE NOTE_ID = @NOTE_ID

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need to calculate nth day of nth month

    True. I haven't heard anything that cannot be persisted yet, but you never know.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Need to calculate nth day of nth month

    I think these "calculations" would become simple lookups on a calendar table using ROW_NUMBER() with PARTITION BY and ORDER BY.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Fast CSV Reader

    The fact that the author is not citing RFC4180 is troubling. This is exactly where many implementations start out on a bad foot, namely they are making up their own...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Insert a suffix to the values

    Luis Cazares (1/15/2016)


    Orlando Colamatteo (1/15/2016)


    guy 1966 (1/15/2016)


    Ok, I finally found what I needed

    UPDATE `categories_images` SET `categories_image`=REPLACE (`categories_image`,'.gif','');

    UPDATE `categories_images` SET `categories_image`=REPLACE (`categories_image`,'','');

    Thank you!

    @guy1966, I am not sure why you insisted on...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 481 through 495 (of 7,164 total)