Forum Replies Created

Viewing 15 posts - 2,596 through 2,610 (of 5,109 total)

  • RE: Error

    I feel like I'm on a witch hunt now, as I've asked in your questions so many times (with no reply),but Jigjitsigh, DDL and Sample data... please.

    You're doing...

    Thom~

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

  • RE: SSRS & Chrome - Partial Report

    Chrome is not supported by SSRS I'm afraid. Well, not 2008. SSRS 2016 does, and was the first to officially, support it, but prior to that you will often get...

    Thom~

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

  • RE: Add line break to string

    GAH!!! Comic Sans!!!! MINE EYES!!!!!!!!!!!!! MINE EYES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Ok, back to normality. CHAR(10) is the Line Break character. So you'll need to use the REPLACE function.
    REPLACE(StringData,';',';' + CHAR(10))

    Thom~

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

  • RE: Need help/ push in right direction with assignment 3NF, Composite Key to SQL+

    Chris Harshman - Monday, November 13, 2017 4:41 PM

    twgrops - Monday, November 13, 2017 4:12 PM

    Thom~

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

  • RE: format datetime to varchar

    I would also avoid using FORMAT as well. CONVERT and the style code 126 returns the display format you are after.

    If, however, you are storing your datetimes as...

    Thom~

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

  • RE: Need help/ push in right direction with assignment 3NF, Composite Key to SQL+

    Looks like you have a many to many relationship. It's true that an order will contain many items of equipment, and a piece of equipment can be within many orders,...

    Thom~

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

  • RE: Query

    Hi jagjitsingh,

    I don't mean to be rude, but you've been asked and shown enough times to post your questions properly (with DDL, Consumable Sample Data, Expected results, etc)....

    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?

    Jeff Moden - Monday, November 13, 2017 5:42 AM

    Thom A - Monday, November 13, 2017 5:35 AM

    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?

    Ed Wagner - Monday, November 13, 2017 5:19 AM

    Careful there, Sean.  You're starting to sound a lot like me when it...

    Thom~

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

  • RE: How OVER clause works ?

    MAX(LEFT(c1, 1)) OVER(ORDER BY id ROWS BETWEEN CURRENT ROW AND 5 FOLLOWING)
    Let's split this into several sections:
    LEFT(c1, 1)
    Returns the left most x character(s) from a string. The...

    Thom~

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

  • RE: Difference in value

    John Mitchell-245523 - Monday, November 13, 2017 3:14 AM

    Thom A - Monday, November 13, 2017 3:01 AM

    Thom~

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

  • RE: Date format check

    I have to ask, but why are you permitting dates to be stored as I string in the first place? They should be stored as a date or datetime(2). Storing...

    Thom~

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

  • RE: Difference in value

    Use a CTE and ROW_NUMBER(), ordered by Date Descending. Then only return the rows (from the CTE) where the value of your ROW_NUMBER() column is 1.

    Thom~

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

  • RE: CASE statement and inner join giving duplicates

    hurricaneDBA - Monday, November 13, 2017 2:25 AM

    Thom
    Which tool do you use to write SQL?
    Just out of curiousity for myself :)...

    Thom~

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

  • RE: CASE statement and inner join giving duplicates

    Ok, let's all turn this into something a bit more "readable".

    CREATE

    Thom~

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

Viewing 15 posts - 2,596 through 2,610 (of 5,109 total)