Forum Replies Created

Viewing 15 posts - 2,611 through 2,625 (of 5,109 total)

  • RE: Matrix

    Duplicate of https://www.sqlservercentral.com/Forums/1907056/Union-ALl

    Like I posted in your other topic today, please don't make a duplicate topic. If you post a question and you don't get the answer...

    Thom~

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

  • RE: Query

    Without DDL, you're probably looking for using SUM with an OVER clause. Probably inside a CTE. This is all I can guess without DDL:

    Thom~

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

  • RE: Query

    You already posted this question some 2 hours ago here: https://www.sqlservercentral.com/Forums/1907347/Query

    Rather than posting a new topic, could you reply to Steve please? 🙂

    Thanks.

    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 - Sunday, November 12, 2017 5:11 AM

    Hi Eirikur
    I was able to use to the same table and get the...

    Thom~

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

  • RE: load data into 3 separate tables using tsql .

    vsamantha35 - Wednesday, November 8, 2017 2:32 PM

    Always the first row will be a bunch of characters indicating a header and date...

    Thom~

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

  • RE: Start Up Account Permissions

    No, the SQL Server Service account does not require Admin Privileges, and (in fact) should not.

    The permissions a Service Account requires is going to vary from company to...

    Thom~

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

  • RE: find missing months

    DDL would be really helpful here as looking at your data, you aren't storing your dates, as dates.

    Firstly, have a look at having a Calendar table; they're a...

    Thom~

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

  • RE: Union ALl

    I have to agree with Steve, this is quite vague.

    If, however, you need to treat the data from 2 separate tables separately, then don't UNION (ALL) them; then...

    Thom~

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

  • RE: Find patients ages 13 - 21 as of calendar year

    drew.allen - Thursday, November 9, 2017 9:51 AM

    People usually approach...

    Thom~

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

  • RE: Find patients ages 13 - 21 as of calendar year

    Couple of answers, might be a better way, but it's late in the day:

    DECLARE...

    Thom~

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

  • RE: Find patients ages 13 - 21 as of calendar year

    NineIron - Thursday, November 9, 2017 9:16 AM

    My bad. 12-21. So, if they are 12 on 1/1 then, include them. If they...

    Thom~

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

  • RE: Find patients ages 13 - 21 as of calendar year

    Your logic is a bit vague, you say between ages 13 and 21 in your subject, and 12-21 in your post. Also, when should they count? For example, if someone...

    Thom~

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

  • RE: need help

    Chris Harshman - Thursday, November 9, 2017 7:05 AM

    Thom A - Thursday, November 9, 2017 6:01 AM

    Thom~

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

  • RE: need help

    Chris Harshman - Wednesday, November 8, 2017 12:00 PM

    jyoti.raghuvanshi - Wednesday, November 8, 2017 10:00 AM

    Thom~

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

  • RE: Export to CSV using bulk copies data, can't write to local

    I imagine it's a permissions issue more than anything. I assume that you have configured a Service account on your SQL Server and that you have granted that Service Account...

    Thom~

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

Viewing 15 posts - 2,611 through 2,625 (of 5,109 total)