Viewing 9 posts - 1 through 9 (of 9 total)
Legality is not the question, love for your fellow humans, their health, and the health of their loved ones is the issue. There is no question I desperately want...
February 2, 2021 at 4:32 am
Both SQL Audit and Extended Events (which Audit builds on) will do this for you. Here's an XE session I created to capture all queries executed against a specific database...
April 16, 2020 at 5:04 pm
frederico_fonseca is correct, you should be using parameterized queries. Your current method is prone to SQL injection problems and you need to always account for those. Simply escaping strings (replacing...
April 13, 2020 at 1:50 pm
What problem are you attempting to solve here?
What you're observing is normal SQL Server memory behavior. SQL Server will, if it deems necessary, use all the memory it's configured to...
March 6, 2020 at 6:58 pm
March 2, 2020 at 1:15 pm
I've seen a few occasions where Intellisense caused a bit of a slowdown because it was trying to scan through the schema to get table & field names (for example).
If...
January 20, 2020 at 6:09 pm
Were you asked to change just the name of the service account, or to change the account the service runs under entirely (perhaps to use a domain account)?
December 11, 2019 at 1:04 pm
To satisfy the first need, you can use Get-DbaServerRoleMember to fetch all members of the sysadmin role.
$ListOfInstances = @("Instance1","Server2\Instance2");
$Sysadmins = Get-DbaServerRoleMember -SqlInstance $ListOfInstances -ServerRole sysadmin |...
November 11, 2019 at 4:27 pm
dbatools has functions to copy pretty much everything. For your particular scenario, you'll be interested in Copy-DbaDatabase (allows you to copy via backup/restore, detach/attach, or by restoring the last...
November 11, 2019 at 2:22 pm
Viewing 9 posts - 1 through 9 (of 9 total)