Forum Replies Created

Viewing 15 posts - 466 through 480 (of 3,543 total)

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (10/30/2015)


    Someone needs to have a talk with that David Burrows guy. He's talking crazy in another thread. Like suggesting I could use SQL Server tables to solve a...

  • RE: Are the posted questions getting worse?

    Eirikur Eiriksson (10/30/2015)


    David could maybe use a little shrinking but he doesn't need a shrink:-P

    😎

    LOL Thanks Eirikur 😀

  • RE: VS 2012 - C# question on configuration files

    Brandie Tarvin (10/30/2015)


    David Burrows (10/30/2015)


    As an alternative you could define a DataTable to contain JobName and Response columns, add rows using a loop (similar to above) and output to a...

  • RE: VS 2012 - C# question on configuration files

    Just a guess but if you had pairs of labels (ie J1,J1a,J2,J2a etc) to hold job name and response respectively then

    string[] MyJobs = SvrBJobNames.Split(',');

    Label[] JobNameLabels = {J1,J2,J3,J4,J5};

    Label[] JobResponseLabels = {J1A,J2A,J3A,J4A,J5A};

    for...

  • RE: VS 2012 - C# question on configuration files

    Or

    string[] MyJobs = SvrBJobNames.Split(',');

    if there are no empty entries 😉

  • RE: CASE WHEN SELECT Help.

    Also you need to put the WHENs in the order you want them tested

    ie

    WHEN A.[Measure] IN ('RTT-01','RTT-04','RTT-07') AND A.Value NOT LIKE '%[0-9.]%' THEN ''

    WHEN A.[Measure] IN ('RTT-01','RTT-04','RTT-07') AND A.Value >...

  • RE: CASE WHEN SELECT Help.

    dramaqueen (10/29/2015)


    I have added that extra where clause. I agree with what you are saying but it still come back with an error.

    Sorry forgot to mention that you will have...

  • RE: CASE WHEN SELECT Help.

    ChrisM's solution is correct.

    The error will be due to inconsistances between your Measures and numeric/nonnumeric Values

    You will need to add extra WHEN conditions to avoid implicit cast errors

    i.e

    WHEN A.[Measure]...

  • RE: Are the posted questions getting worse?

    ChrisM@Work (10/1/2015)


    David Burrows (10/1/2015)


    ChrisM@Work (10/1/2015)


    Eirikur Eiriksson (10/1/2015)


    ChrisM@Work (10/1/2015)


    Oh, and maple beer - yuck.

    This made me spill my ESB all over the Pub lunch

    😎

    Where have you found ESB on draught?

    Many many...

  • RE: Are the posted questions getting worse?

    ChrisM@Work (10/1/2015)


    Eirikur Eiriksson (10/1/2015)


    ChrisM@Work (10/1/2015)


    Oh, and maple beer - yuck.

    This made me spill my ESB all over the Pub lunch

    😎

    Where have you found ESB on draught?

    Many many moons ago when...

  • RE: Recurrences

    Poor performance :angry:

    But....

    WITH

    cte1 (Dt,Item,RowNo) AS (

    SELECT Dt,Item,ROW_NUMBER() OVER (ORDER BY Dt ASC)

    ...

  • RE: Recurrences

    DECLARE @value int = 2;

    WITH cte AS (

    SELECT Dt,Item,

    ROW_NUMBER() OVER (ORDER BY Dt ASC) -

    ROW_NUMBER() OVER (PARTITION BY Item ORDER BY Dt ASC) AS [Grp]

    FROM #tab1 t

    ),

    ...

  • RE: How to create report like this in SSRS

    In Tablix make blue section the detail group and the yellow section group header (Phase Code)

    See attached sample.

  • RE: Updating an existing table with max(value)+row number (partition by 2 columns)

    if we have same job_cd and permit_nbr, reference number should be same

    Is this for existing allocated reference number?

    take max(reference number) from the table +1 for all rows where reference_nbr column...

  • RE: Are the posted questions getting worse?

    Did upgrade 7 to 10 at home, quick and no problems (after I remembered to remove anti virus software), switched off Advertising ID and Cortana.

    I still hate the interface (hated...

Viewing 15 posts - 466 through 480 (of 3,543 total)