Viewing 15 posts - 1 through 15 (of 47 total)
And that's why there are central management servers and Powershell...
April 29, 2024 at 7:20 am
The worst schema I had to implement:
A customer wanted us to reboot the server for patches on the first friday of the month around 1am.
How do you schedule updates for...
November 17, 2023 at 7:44 am
A table is not an object, it's a set. A set contains zero or more elements.
Set = plural
Element = singular
Once you start thinking of a table as singular, your mind...
November 17, 2023 at 7:41 am
That doesn't shrink the file.
And the logfile of a simple database can also grow large if you try to do everything in one transaction.
March 31, 2023 at 12:53 pm
That's what Powershell is for.
Invoke-DBAShrink -SQLInstance Instance -AllUserDatabases -FileType Log
March 31, 2023 at 10:42 am
Steve Jones - SSC Editor wrote:ildjarn.is.dead wrote:Do they require a reboot or a restart of SQL server service?
Not sure what you mean? Nothign I've shown requires a reboot
Exactly. So why add 'I am not...
August 3, 2022 at 8:22 pm
Do they require a reboot or a restart of SQL server service?
August 3, 2022 at 7:45 am
In the end this was resolved by installing the latest CU, after which the WMI classes mysteriously appeared.
July 6, 2022 at 8:58 am
You've determined the best Batman movie, not the best Batman. A Batman can be awesome in an otherwise crap movie, or crap in an otherwise awesome movie.
May 9, 2022 at 11:21 am
I prefer to use Powershell, and Invoke-DbaQuery from within my Powershell scripts for things that require T-SQL. The source of all scripts is then in my Powershell library, instead of...
April 20, 2022 at 8:19 am
How thread-safe is this? I.e. will other sessions with updates also not fire the trigger?
April 13, 2021 at 7:37 am
It might help to read the 3rd sentence of the @language argument description in the docs sp_execute_external_script (Transact-SQL).
I have. But see also the second line...
November 20, 2020 at 9:34 am
In SQL Server 2019, Java, Python, and R runtimes are supported.
So not every language can be added with a language extension, or am I misreading this?
November 19, 2020 at 9:55 am
I would've expected DROP TABLE to set @@ROWCOUNT to the number of dropped rows.
November 6, 2020 at 10:08 am
'Colts' is in the middle of the string, and TRIM() only removes characters from the beginning and the end.
October 2, 2020 at 11:29 am
Viewing 15 posts - 1 through 15 (of 47 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy