Forum Replies Created

Viewing 15 posts - 2,116 through 2,130 (of 5,109 total)

  • RE: Would You Move to Linux for Price?

    Eric M Russell - Wednesday, May 2, 2018 8:26 AM

    ZZartin - Wednesday, May 2, 2018 7:34 AM

    Thom~

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

  • RE: Would You Move to Linux for Price?

    At work, the answer is no. We're a heavy Windows environment, so integration would be a lot harder than using Windows. We're also heavy users of both SSIS and SSRS;...

    Thom~

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

  • RE: Importing from XML to SQL 2014

    When you say you want to get it into the database what do you mean? SQL Server has an xml datatype, so do you mean simply store the xml in...

    Thom~

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

  • RE: Number of Days between two Day Names

    Jeff Moden - Tuesday, May 1, 2018 10:04 AM

    Yep... still a wicked bad idea.  They should use dates, instead.  If they...

    Thom~

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

  • RE: Number of Days between two Day Names

    Jeff Moden - Tuesday, May 1, 2018 9:37 AM

    I'll be interesting as hell to see what happens during a "wrap around" when...

    Thom~

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

  • RE: Number of Days between two Day Names

    How about...

    USE Sandbox;
    GO
    /*
    All odd alignment issues courtesy of SSC's text editor 🙂
    */

    CREATE TABLE SampleTable (ID int IDENTITY(1,1),
             StartDay varchar(9),
            ...

    Thom~

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

  • RE: How to find the last manipulated table in database?

    Out of the box, no, not really. You might be able to find something in the default trace, however, the only way to guarantee this is to set something out...

    Thom~

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

  • RE: SSIS Maitenance Question - You may know the answer

    Thismmight even be something that can be done with project Variables as well, as opposed to environments. It depends if you have your dev and production database on the same...

    Thom~

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

  • RE: Check constraint where all records with the same effective date add up to one

    sgmunson - Monday, April 30, 2018 8:12 AM

    Okay, it interpreted it as a subquery, when it needs a scalar expression.   Perhaps...

    Thom~

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

  • RE: Self SQL Injection

    It honestly surprises me how many people still leave themselves open to SQL injection. Parametrisation and the use of QUOTENAME (in SQL Server) make a query infinitely easier...

    Thom~

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

  • RE: Check constraint where all records with the same effective date add up to one

    sgmunson - Friday, April 27, 2018 10:23 AM

    Hmmm...  just looks like the following code:
    ALTER TABLE SampleTable ADD CONSTRAINT DecValueTotal_CK CHECK...

    Thom~

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

  • RE: Is there a way to customize menu colors in the SSMS?

    You can't really customise the look of SSMS, no, you just have the 3 theme options, Light, Blue and Dark (which is a hidden theme).

    Thom~

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

  • RE: SSIS variable declaration issue

    The following code doesn't make sense:
    @[user::input file folder] + @[user::File Name] = \\ABC105.SSN.MERIT.PHILIPS.COM\VIPP_HT_Bckup_28-12\Actual load\2018\Mar_2018attachment_1
    Firstly, you're trying to assign the value to 2 different variables which...

    Thom~

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

  • RE: Combining address fields into 1 address field - bullet proof method.

    Just noticed something in the post. ISNULL isn't the same as a CASE, that's COALESCE. ISNULL and COALESCE do operate different; especially when different data types are involved in the...

    Thom~

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

  • RE: Combining address fields into 1 address field - bullet proof method.

    You could use the old stuff method:
    STUFF(ISNULL(', ' + Addr1,'') + ISNULL(', ' + Addr2,'') + ISNULL(', ' + Addr3,'') + ISNULL(', ' + Addr4,'') + ISNULL(', ' +...

    Thom~

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

Viewing 15 posts - 2,116 through 2,130 (of 5,109 total)