Viewing 15 posts - 736 through 750 (of 7,187 total)
No, absolutely not. Normal log backups in normal circumstances; a tail-log backup in extreme circumstances, for example someone has deleted a large table and I need to restore the whole...
June 4, 2018 at 6:48 am
DDL = CREATE TABALE statement, including CREATE INDEX statements. Queries = the full query you're having a problem with.
If you're filtering on auftragdatum, that's likely to be painful,...
June 4, 2018 at 6:36 am
I think it depends on the context, not on the method. If I'm backing up a log of a database with the intention of restoring over that database, I'd call...
June 4, 2018 at 4:30 am
When you say 58 million rows have been deleted/rebuilt, what do you mean? What rows are affected - just those at the end of the table, or rows in random...
June 4, 2018 at 3:55 am
June 1, 2018 at 7:11 am
I'm confused about whether you're using a linked server or not. But try something like this. If you are indeed using a linked server, make sure you understand about linked...
May 23, 2018 at 9:06 am
Try this. If you wanted to go to an indeterminate number of dimensions, you'd need to use dynamic SQL. I don't know whether, or at what point, performance will become...
May 23, 2018 at 8:43 am
May 23, 2018 at 8:11 am
Like I said, this is something you need to do yourself. It's too tiresome to expect someone else to do it for you, not to mention the fact that we...
May 22, 2018 at 9:41 am
I can't open your file - just as likely to be due to restrictions this end as to anything wrong with the file itself. Combing through a deadlock graph isn't...
May 22, 2018 at 8:13 am
I think I must have misunderstood something. The "Correct Answer" section lists the first three options as being the correct answers. The Explanation section then goes on to say "All...
May 22, 2018 at 3:12 am
I think e4d4 is right. Only use NORECOVERY in a BACKUP LOG statement if you intend to restore over the database you're backing up. You should be able to bring...
May 21, 2018 at 3:04 am
Try this. It involves a triangular join, so performance may not be good on large data sets.
WITH BeginningsandEndings AS (
SELECT
...
May 17, 2018 at 7:17 am
SELECT
dBookedTill AS FreeFrom
, LEAD(dBookedFrom,1) OVER (ORDER BY dBookedFrom) AS FreeTo
FROM @t
UNION ALL
SELECT
NULL
, MIN(dBookedFrom)
FROM @t
ORDER BY FreeFrom
May 17, 2018 at 4:59 am
Viewing 15 posts - 736 through 750 (of 7,187 total)