Forum Replies Created

Viewing 15 posts - 1,081 through 1,095 (of 5,109 total)

  • Reply To: Row_Number, partion and order by

    This is more of a gaps and islands question. With functions like ROW_NUMBER it doesn't care about "gaps" in the data, if the value of the column (Cell in this...

    • This reply was modified 7 years, 2 months ago by Thom A. Reason: Alternative solution

    Thom~

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

  • Reply To: XML data load to sqlserver.

    You haven't explained your goal here or the results you want, however, is this not what you are after?

    DECLARE @XML xml = '
    <Location>
    <Address>
    ...

    Thom~

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

  • Reply To: How can I identify gaps in coverage dates

    Difficult to read when everything is in a code block, however, if you need every date group, look at a calendar table, or similar. Otherwise you can use a Tally...

    Thom~

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

  • Reply To: Download and Install Visual Studio 2017 with SSIS

    SSIS has been available for a long time on VS2017. I would guess, as commented above, that you've downloaded VS, but not SSDT.

    Thom~

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

  • Reply To: ssrs 2012 date formatting

    wendy elizabeth wrote:

    can you tell me if ssrs reports translate the dates for us? if so, how do you accomplish this goal?

    Did what I suggested above not work then?

    Thom~

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

  • Reply To: Regarding project description

    Welcome to SQL Server Central.

    Those look like interview questions. You should be answering those question first, not us (random strangers from the internet). If people from SSC answer the questions...

    Thom~

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

  • Reply To: ssrs 2012 date formatting

    Are you talking about how the date would be displayed in a textbox to the user in the report? I honestly can't remember if SSRS (2012), detects the user's language...

    Thom~

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

  • Reply To: Printing Dynamic Sql with Parameter Values

    That statement looks malformed to me. If we format and correctly quote your strings we get the following (I've added some comments where there are problems):

    CREATE PROCEDURE...

    Thom~

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

  • Reply To: How to send mails from sql server 2016

    This doesn't sound like you need sample code but that the email server you're connecting to isn't allowing you to send emails. You probably need to talk to the administrator...

    Thom~

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

  • Reply To: Returning table with variable number of columns (PIVOT?)

    marc.corbeel wrote:

    Thanks for the sample. It does exactly what I expect. What is it compatibility level? Does it work on SQL2012?

    Yes, the version I provided will work on all supported...

    Thom~

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

  • Reply To: Profile pages are broken

    Looks like it's the editor that "flattens" the image, rather than the upload. I managed to get the animated gif uploaded, but as soon as I select it for use...

    Thom~

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

  • Reply To: idol steps to take

    Jeff Moden wrote:

    Lordy... all these interview questions you're asking.  And the word should be "ideal" and not "idol". 😉

    Perhaps the OP really does want to know the steps their idol would...

    Thom~

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

  • Reply To: another changing code to prevent injection

    Are these all interview/homework questions? ethical question, replication, Adjusting T-sql to prevent injection, accidenly dropping production, failover, idol steps to take.

    Why don't you tell...

    Thom~

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

  • Reply To: Returning table with variable number of columns (PIVOT?)

    I'd avoid a CURSOR in truth. You'll find that solution will not scale well and will very likely be the slower of the 2.

    Thom~

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

  • Reply To: idol steps to take

    John Mitchell-245523 wrote:

    I'd start by asking why he needs it.  In an ideal world, developers wouldn't have any access to live systems, and certainly not elevated permissions like he's asking for....

    Thom~

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

Viewing 15 posts - 1,081 through 1,095 (of 5,109 total)