Forum Replies Created

Viewing 15 posts - 4,201 through 4,215 (of 5,109 total)

  • RE: I need to limit number of columns in a matrix report

    Maybe..?
    WITH RN AS (
      SELECT t.[STATUS],
            t.RequiredByDate,
            t.WorkOrder,
            DENSE_RANK() OVER (ORDER BY t.RequiredByDate DESC)...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Lag and Lead Function - Populate Column with Values

    MSDN gives pretty good detail and examples on how to use these functions:
    LEAD (Transact-SQL)
    LAG (Transact-SQL)

    They effectively work in the same way,...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: I need to limit number of columns in a matrix report

    Nomvula - Friday, February 24, 2017 4:48 AM
       hi guys

    I have a matrix report and the query used on the report

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: How to use a substring in SSRS

    What was your actual aim here, was it for grouping, display purposes? Changing the data type of a field (in this case DATE to STRING) isn't always the best idea....

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: transpose like function

    OJDev - Wednesday, February 22, 2017 6:59 AM

    Thank you. Would there also be a way in which I don't have to specify...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: How to create group by reports in ssrs

    Insert a List object into your report, and set it to use the required dataset in its Tablix Properties. Then create a grouping on that list for your Country field...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    It's a definite shame for the newer users, who clearly have tried their best, but don't quite understand some of the principles. The ones that maybe do post a screenshot...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Exists on where clause

    jcelko212 32090 - Tuesday, February 21, 2017 2:55 PM

    Whydid you use the old Sybase syntax for your insertion statement? Itwas replaced...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Many to Many Relationship Design Query

    drew.allen - Tuesday, February 21, 2017 2:36 PM

    In that case, you shouldn't separate out your parent tasks from your child tasks....

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: transpose like function

    Please supply DDL and sample data in a digestible format for T-SQL. You'll get a much quicker answer.

    One solution, using PIVOT:
    CREATE TABLE #Sample (ID VARCHAR(10),

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: create xml from table rows

    Can you supply some DDL and sample data? We can't access your data, so we need something to work with.

    Thanks.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Round decimal

    GigiMi - Tuesday, February 21, 2017 7:26 AM

    Is a script task in a SSIS package, where from a datatable I create an...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Round decimal

    As the others have said, this is presentation layer. If you were to reduce the accuracy of a column that contained 0's, you would have to apply that logic to...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Round decimal

    0.00 does equal 0, rounding it is still going to give you the same result (0.00). What is it you are after here exactly, only the Integer part of the...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Invalid length parameter passed to the LEFT or SUBSTRING function. Trying to remove everything after the period

    Those specific examples you gave will work fine for that query, however, the problem is that somewhere in your data, you have something that doesn't work.

    You could filter...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

Viewing 15 posts - 4,201 through 4,215 (of 5,109 total)