Viewing 15 posts - 1,981 through 1,995 (of 39,771 total)
xevents is very lightweight, but since jobhistory is going to get this, not sure you querying text is better than a table.
May 17, 2021 at 3:35 pm
I would lean towards Jeff's idea here if possible. There is an audit event on restore start, but that won't stop anything. At best, you'll get a chance to kill...
May 17, 2021 at 3:31 pm
If the vendor doesn't want to allow changes. I'd build a process to "scrub" entries every minute. Index the column if you can and search for problem strings. Then decide...
May 17, 2021 at 3:17 pm
ISDATE() isn't perfect (https://stackoverflow.com/questions/32755924/isdate-in-not-working-as-expected-in-sql-server)
You may need some other guard clauses or checks to be sure the value is a date. Unfortunately, dates are just not stored in a consistent...
May 17, 2021 at 3:08 pm
For TDE, the symmetric encryption key, the DEK, is in the database. This is always the case. The certificate that is used to encrypt/decrypt this is stored in Azure Key...
May 17, 2021 at 3:05 pm
If you read references to "Level Up", that's our Redgate conference. It was internally described as: Level Up is Redgate’s way of celebrating learning and development, helping us all to...
May 17, 2021 at 2:49 pm
We are having a work conference this week at Redgate. In previous years, we rented a space for a few days and literally ran a conference. Booths were from different...
May 17, 2021 at 2:45 pm
Thoughts this crew might like this:
"Do not assume that index maintenance will always noticeably improve your workload."
May 13, 2021 at 5:01 pm
We don't have an IF really, but you can use CASE.
For sum of operating expenses, you could include a case when (materials or personal expenses) else 0 for the value....
May 12, 2021 at 5:19 pm
Should be, they have it linked and listed from multiple places.
May 12, 2021 at 4:32 pm
It's helpful if you post data in a consummable format, as in the DDL to create a table and the DML to insert data.
What I might do here is create...
May 12, 2021 at 3:54 pm
What format are you logs? Any data can be loaded into SQL SErver in a table, but you usually need a process to run the import.
May 12, 2021 at 3:44 pm
This comes from sys.sysprocesses. If you check the docs (https://docs.microsoft.com/en-us/sql/relational-databases/system-compatibility-views/sys-sysprocesses-transact-sql?view=sql-server-ver15), this is listed as the last time that the user executed something.
May 12, 2021 at 3:42 pm
Viewing 15 posts - 1,981 through 1,995 (of 39,771 total)