Forum Replies Created

Viewing 15 posts - 2,686 through 2,700 (of 5,109 total)

  • RE: CASE Help

    Jeff Moden - Friday, November 3, 2017 7:44 AM

    Oh no... definitely not being sarcastic.  Quite the contrary.  It's a bummer, though,...

    Thom~

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

  • RE: Tie row to previous rows of data

    John Mitchell-245523 - Friday, November 3, 2017 6:55 AM

    That's the traditional solution, but it requires two scans of the table.  I...

    Thom~

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

  • RE: Tie row to previous rows of data

    You should know that you need to supply data with DDL and in a consumable format.

    Thom~

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

  • RE: Lead/Lag Smart Solution

    Joe Torre - Thursday, November 2, 2017 6:11 PM

    Mainstream Support for SQL Server 2008 R2 ended in 2014.

    Extended support still exists. Otherwise...

    Thom~

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

  • RE: CASE Help

    Jeff Moden - Thursday, November 2, 2017 6:50 PM

    Aw dude!  How did you post that!  It's perfect and you can select...

    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?

    Sean Lange - Thursday, November 2, 2017 10:52 AM

    Notability of term. That is a strange way of wording it. Wonder who...

    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?

    Sean Lange - Thursday, November 2, 2017 10:37 AM

    Not really sure why but the wikipedia page for Sargable has been deleted. This...

    Thom~

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

  • RE: Sum of the Expression

    Your post doesn't make a lot of sense here. Firstly the query Select Sum(Amount) from table1; will return a result set with a single row and single (unnamed)...

    Thom~

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

  • RE: Need a .net like function in user defined function of sql server

    Ahh, ok. If it's converting into a CSV then this will work (using STUFF and FOR XML PATH):

    Thom~

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

  • RE: Lead/Lag Smart Solution

    I almost think the OP is looking for a generic tool for every scernario, i.e. making their own LAG/LEAD function. That isn't going to happen.if you wanted to use a...

    Thom~

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

  • RE: Join two tables with complex derived keys that don't match

    aaron.reese - Thursday, November 2, 2017 5:20 AM

    My thinking behind the Temp Table is that I can build a suitable index on...

    Thom~

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

  • RE: Join two tables with complex derived keys that don't match

    This isn't going to be a pretty join no. I don't see any reason to split into a Temporary table though, do the job in one go:

    Thom~

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

  • RE: Collect data en show it in a graph

    You could have a look at PowerBI, but, personally, I think SSRS would be a good choice here. if it's on a separate machine, you only need a web browser...

    Thom~

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

  • RE: Collect data en show it in a graph

    Depends how you want to display it, your requirements are quite vague. For example, you could use Excel. Run the script in SSMS, copy and paste the data out into...

    Thom~

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

  • RE: CASE Help

    ChrisM@Work - Thursday, November 2, 2017 2:42 AM

    Thom A - Wednesday, November 1, 2017 12:43 PM

    Thom~

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

Viewing 15 posts - 2,686 through 2,700 (of 5,109 total)