Viewing 15 posts - 8,056 through 8,070 (of 59,078 total)
Just be mindful of the possible surprise such a change could cause if the departure data has a midnight time.
December 20, 2019 at 10:19 pm
How about some nice triangular joins done inside a cursor? Jeff Moden: Look Away.
Oddly enough, I was going to suggest Triangular Joins. I decided not to because I don't...
December 20, 2019 at 10:16 pm
Thanks all - I thought there might just be some super simple reason like PIVOT just works better with in-memory data etc.
There might be!!! Did you try what I...
December 20, 2019 at 3:03 pm
Hi John, thanks for the reminder about SQL injection. I think we are ok in this case.
Despite your thoughts, you're still concatenating the table name without checking to see...
December 20, 2019 at 2:58 pm
The KB was released due to an error in the RTM edition of SQL Server 2019.
Like I said in a different post, new versions of SQL Server scare...
December 20, 2019 at 2:39 pm
If you wanted to be absolutely sure, you could change what is captured in the error log to log both successful and unsuccessful logins and then bounce the service to...
December 20, 2019 at 2:17 pm
Awesome! Looking forward to seeing it, John!
December 20, 2019 at 2:10 pm
What do you get when you write it with straight criteria instead of selecting from the sub-query?
December 20, 2019 at 1:51 pm
Of course, that recommendation also comes with the warning that if the hashbytes are different, then the rows are guaranteed to be different. However (and you know this...
December 20, 2019 at 1:42 pm
SELECT CONCAT('
SELECT ''', QUOTENAME(t.TABLE_SCHEMA), '.', QUOTENAME(t.TABLE_NAME), ''' [TABLE_NAME], COUNT(*) COUNT
FROM (SELECT ',x.c, '
...
December 19, 2019 at 11:22 pm
well the PK alone doesn't indicate real world duplicates as in you can create an index column of sorts but that doesn't solve potential duplicates and even where there...
December 19, 2019 at 11:16 pm
Why do you need to do this? Any table with a unique index on it, even a non-clustered one, will not have duplicates in it. Same goes for any table...
December 19, 2019 at 7:50 pm
Look in the upper right corner of the display for "Write for us". Click and follow your nose.
December 19, 2019 at 7:43 pm
Duplicate post. Please... no posts here. No need to split up possible answers. Go to the first one in process at https://www.sqlservercentral.com/forums/topic/audit-failed-successful-login-log-4#post-3709164
December 19, 2019 at 4:02 pm
Duplicate post. Please... no posts here. No need to split up possible answers. Go to the first one in process at https://www.sqlservercentral.com/forums/topic/audit-failed-successful-login-log-4#post-3709164
December 19, 2019 at 4:02 pm
Viewing 15 posts - 8,056 through 8,070 (of 59,078 total)