Forum Replies Created

Viewing 15 posts - 2,731 through 2,745 (of 5,109 total)

  • RE: Removing Time from Date when adding to Gridview

    My knowledge of C# is pretty low (I can read it, but not write it), however, maybe try some cell formatting. A Google brought me to this conclusion, however, this...

    Thom~

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

  • RE: Removing Time from Date when adding to Gridview

    Matt.Altman - Tuesday, October 31, 2017 9:19 AM

    Thank you for the reply Thom.  I can't believe I missed that.  Well the error...

    Thom~

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

  • RE: Removing Time from Date when adding to Gridview

    You haven't named your column. For example:
    SELECT CAST(Start_Date AS date) AS Start_Date
    FROM Table
    WHERE Start_Date > GETDATE();

    Thom~

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

  • RE: Sum case nulls and 1900-01-01 00:00:00.000

    Luis Cazares - Tuesday, October 31, 2017 8:24 AM

    Why not use NULLIF with a COUNT?

    DECLARE @ClosedStuff TABLE (InspectionClosed DATE NULL);
    INSERT...

    Thom~

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

  • RE: Create SSRS Data Driven Subscriptions on Standard Edition

    cerulean47 - Tuesday, October 31, 2017 7:43 AM

    Thanks for this.

    What do you think about wrapping the report execution in a try/catch? I'd...

    Thom~

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

  • RE: Create SSRS Data Driven Subscriptions on Standard Edition

    Not a great fan of looping through the parameters.

    It's also worth noting that if you have a subscription running, and try to run it again (at least with...

    Thom~

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

  • RE: Joining 2 queries

    I've assumed that you will likely want to parametrise this. Without DDL and DLM, this is completely untested, however:
    DECLARE @DateFrom date, @DateTo date;
    SET @DateFrom = '20171030';

    Thom~

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

  • RE: Joining 2 queries

    Nevermind

    Thom~

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

  • RE: Sum case nulls and 1900-01-01 00:00:00.000

    Considering you're doing a COUNT, why not instead do:
    COUNT(CASE InspectionClosed WHEN '1900-01-01 00:00:00.000' THEN NULL ELSE InspectionClosed END)
    NULLs are not counted when using the aggragate, so making those values...

    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?

    Steve Jones - SSC Editor - Monday, October 30, 2017 9:10 AM

    Thom A - Saturday, October 28,...

    Thom~

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

  • RE: StartDate and EndDate in same column

    Redmond01 - Sunday, October 29, 2017 3:04 PM

    @Lynn Pettis , why don't you keep you obnoxious ,sarcastic and dumb as rock remarks...

    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?

    This really isn't SQL related (well it isn't at all apart from my attempt to get multiple SQL instances running on a single Linux Machine), but anyone got any experience...

    Thom~

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

  • RE: Handling string column with dates

    Jeff Moden - Saturday, October 28, 2017 2:53 PM

    I understand the source of your problem but, after all is said and done...

    Thom~

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

  • RE: sql SELECT Count(*) works on single words only

    GilaMonster - Saturday, October 28, 2017 9:52 AM

    Thom A - Saturday, October 28, 2017 5:33 AM

    Thom~

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

  • RE: Simple Queries Run Slow

    Luis Cazares - Friday, October 27, 2017 10:18 AM

    (seriously a bigint for a country code? How many countries are you planning...

    Thom~

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

Viewing 15 posts - 2,731 through 2,745 (of 5,109 total)