Viewing 15 posts - 2,746 through 2,760 (of 39,771 total)
But when working from home, it doesn't seem right to take a sick day, even if you're sick. With so much uncertainty still ahead of us, I'd rather...
May 15, 2020 at 3:07 pm
The marketing and SEO do matter. Engagement is a part of what is needed and mobile has been a constant request over the years. This also affects search results from...
May 15, 2020 at 2:56 pm
there are some dbccs for checking data type changes. I forget which one, but it addresses a change after 2000. A little busy now, but I'll try to look later.
Otherwise,...
May 15, 2020 at 2:55 pm
This should work, but a few things I'd do to improve this:
-- Delete in batches with progress put into table
-- Table for holding progress
CREATE TABLE progress
(
...
May 14, 2020 at 8:52 pm
A firewall is about access from endpoints, which may or may not help here. Inside->traffic often isn't limited, which is a hassle.
There are protections built in, but many don't use...
May 14, 2020 at 3:55 pm
OPENROWSET works with limitations
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features
May 14, 2020 at 3:52 pm
Usually you need a couple of scripts. One to do the blocking, one to simulated the blocked.
The easy way for the first script is have aproc that has a WAITFOR...
May 14, 2020 at 3:49 pm
You could build the SQL statement in PoSh by manipulating the strings that make it up. Or you could use parameters and a proc, changing the parameters that you send...
May 14, 2020 at 3:45 pm
I mostly agree with what Brian wrote. I am wary of denormalizing, and I do it when multiple places need the data and/or performance is an issue. Trading space for...
May 14, 2020 at 3:38 pm
Habits are hard to break. Good or bad, and it requires a lot of effort and desire to actually do that.
Often I try to focus on one thing I want...
May 14, 2020 at 3:34 pm
good thoughts, David. Certainly focused, targeted, appropriate learning is likely an organizational concern. Managers certainly should be involved in developing people, and curating that content is something I hadn't considered,...
May 14, 2020 at 2:51 pm
Glad that worked. Good luck
May 14, 2020 at 2:23 pm
An index is a good idea if you're not going off id. If you are, I'd just run this in T-SQL.
https://www.sqlservercentral.com/articles/deleting-large-number-of-records
May 13, 2020 at 9:22 pm
ah, sorry, I didn't read closely enough.
Are you using PoSh to control this somehow from outside SQL Server?
I'm guessing you want mail_id and then pick a range of ids to...
May 13, 2020 at 7:41 pm
This might help: https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sysmail-delete-mailitems-sp-transact-sql?view=sql-server-ver15
sysmail_delete_mailitems_sp - Database Mail messages and their attachments are stored in the msdb database. Messages should be periodically deleted to prevent msdb from growing larger than...
May 13, 2020 at 6:56 pm
Viewing 15 posts - 2,746 through 2,760 (of 39,771 total)