Viewing 15 posts - 226 through 240 (of 8,731 total)
February 8, 2019 at 7:52 am
I don't see any need on doing a dynamic pivot in here. Your balanceflowtype column has limited values available, so it would be simpler to just code them. The pivot...
February 8, 2019 at 7:42 am
February 7, 2019 at 2:53 pm
This is a way of doing it. It would be great if you could avoid this problem and get the unpivoted data to begin with, but that's something that might...
February 7, 2019 at 10:19 am
February 7, 2019 at 8:32 am
Here's a code that will list 200 years starting on 1900 and group them by calendar variation. You can have 14 possible calendars, 2 for each day of the week...
February 6, 2019 at 8:16 am
February 5, 2019 at 9:15 am
February 4, 2019 at 1:08 pm
February 4, 2019 at 11:19 am
My only quandary is where does the idea of it being preferable...
February 4, 2019 at 7:44 am
February 1, 2019 at 2:36 pm
I would seriously question the need for this user to update data directly in production. If this user already caused an issue by deleting, I would expect the same thing...
February 1, 2019 at 10:07 am
I used to have Erland Sommarskog's beta_lockinfo utility. You could give it a try.
http://www.sommarskog.se/sqlutil/beta_lockinfo.html
February 1, 2019 at 8:48 am
This is another way of doing it.
WHERE [YourDateField] >= DATEADD( YY, DATEDIFF( YY, 0, DATEADD( mm, -1, GETDATE())), 0)
February 1, 2019 at 7:39 am
I'm not sure what the problem is, but you're certainly over complicating the conditions. This is a simplified version of your original code.
CASE
WHEN [Col1] = '0'...
February 1, 2019 at 7:29 am
Viewing 15 posts - 226 through 240 (of 8,731 total)