Viewing 15 posts - 1,081 through 1,095 (of 5,111 total)
Unfortunately SSC, and the use of tabs, has made your expected results an unreable mess. Guessing you need a conditional aggregation?
April 23, 2019 at 1:34 pm
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...
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>
...
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...
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.
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?
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...
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...
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...
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...
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...
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...
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...
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...
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.
April 18, 2019 at 12:12 pm
Viewing 15 posts - 1,081 through 1,095 (of 5,111 total)