Viewing 15 posts - 1,081 through 1,095 (of 5,109 total)
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 23, 2019 at 10:20 am
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
April 23, 2019 at 7:48 am
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
April 22, 2019 at 5:37 pm
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
April 21, 2019 at 10:28 am
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
April 21, 2019 at 8:15 am
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
April 20, 2019 at 2:59 pm
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
April 20, 2019 at 10:20 am
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
April 20, 2019 at 10:14 am
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
April 19, 2019 at 12:16 pm
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
April 18, 2019 at 3:13 pm
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
April 18, 2019 at 2:24 pm
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
April 18, 2019 at 1:28 pm
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
April 18, 2019 at 1:11 pm
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
April 18, 2019 at 12:12 pm
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
April 18, 2019 at 11:55 am
Viewing 15 posts - 1,081 through 1,095 (of 5,109 total)