Viewing 15 posts - 16 through 30 (of 325 total)
November 29, 2018 at 5:37 pm
November 29, 2018 at 12:57 am
I'd say this is one of the few cases where EAV is actually a reasonable normalised design. You aren't using it for the things the system itself is likely to...
November 28, 2018 at 3:22 pm
Given that Microsoft seem to have taken to recommending the equi-join style when using graph tables and the MATCH operator, I think it's highly unlikely they're going away any time...
November 25, 2018 at 2:48 pm
It rather depends on how your tool is attempting to list SQL servers. Often they attempt to connect to the SQL Server Browser service, which means it needs to be...
November 20, 2018 at 12:53 am
If you're going to be following a course I'd install SQL Developer Edition (it's free for non-production use) and Visual Studio 2017 Community Edition (also free for these kinds of...
November 20, 2018 at 12:30 am
You can wrap calls to ParseExact in If statements to exclude cases you don't want to try and check. What have you tried that isn't working?
November 15, 2018 at 3:34 pm
Both will work, though I personally prefer the explicit BEGIN/END pair on any IF statement, if only because somebody will come along later and ask the same question about whether...
November 10, 2018 at 4:45 am
1. To make...
November 1, 2018 at 10:12 pm
November 1, 2018 at 10:03 pm
TVFs are definitely the preferable option, INSERT-EXEC is something of an anti-pattern and has a bunch of drawbacks aside from the nesting one you're experiencing here. You can't always avoid...
November 1, 2018 at 1:36 pm
It's worth bearing in mind that the shrinking currently is probably only harming your database. You delete a month of data and then reload it - that reloading will be...
November 1, 2018 at 1:33 pm
If you're just trying to refresh the summary data and don't want the calculation times to impact queries, consider building the new summaries in a separate table and then using...
November 1, 2018 at 1:25 pm
I think this will do it:
with X as
(
select id, max(R) over (order by id, R) as maxR
from #Data
),
Y as
(
select...
November 1, 2018 at 1:14 pm
It can be done with sys.database_permissions, athough I'd be inclined to fail a code review for any developer that drops and creates an object without having a script to correctly...
November 1, 2018 at 1:46 am
Viewing 15 posts - 16 through 30 (of 325 total)