Viewing 15 posts - 316 through 330 (of 7,480 total)
prevent the accounts to connect to the database.
To differentiate these accounts for this action, create a database user role which you "deny connect"
for your maintenance, you add the accounts...
October 18, 2023 at 7:10 pm
use powershell dbatools ( free ) copy_dbalogin to copy accounts (including sid) from one AG member to another and avoid these issues.
October 18, 2023 at 7:01 pm
wat's the isolation level the sproc is called with from the application ?
regarding implicite transactions, it all depends when the application will require its first lock and how...
October 18, 2023 at 11:48 am
use "restore filelistonly from disk=youdbackupfile" to check if the file contains backup information for different databases !
or "restore headeronly from disk=youdbackupfile"
Are you sure your databases will only have 2...
October 18, 2023 at 11:41 am
No.
But it all depends if a new version functionally implements a functionallity your application may need or benifits from.
Keep in mind some of the new stuff in databases have been...
October 12, 2023 at 11:05 am
If you're curious about transaction log activity for open transactions, Paul Randal has a script at Script: open transactions with text and plans.
October 10, 2023 at 11:39 am
did you actually install SMO for SQL2016 ?
October 5, 2023 at 10:50 am
that's because you don't start from the same set of data due to the "not exists" credential. ( which checks for existance in the target table !! )
October 5, 2023 at 10:40 am
It depends!
It would be more helpfull if you posted DDL for all involved objects.
October 5, 2023 at 6:34 am
... convert( desired_date_type, DATABASEPROPERTYEX(DB_NAME(), "LastGoodCheckDbTime")) ...
I've modified your script a little bit to be more informative :
CREATE TABLE #lastcheckdb
(
DbName sysname,
Updateability...
October 5, 2023 at 5:59 am
Maybe not the most performant solution but as a next step import the full file and process it
$FullfileData = import-csv -Path $fullfile ;
$RecCounter = 0;
$TargetFileNo = 1;
$TargetFiletemplate...
September 29, 2023 at 6:49 pm
As stated by the previous repliers, you must size your tempdb file(s) to be able to cope with your systems consumptions!
Things that may help out :
- grant your service account...
September 28, 2023 at 7:27 am
There are some red fags over here, especially with "just implementing partitioning in production"!
You need to prepare for this all !! As jeff statted, it...
September 27, 2023 at 5:29 am
Have a look at Grants page on the topic: Why You Should Change the Cost Threshold for Parallelism
September 26, 2023 at 6:29 pm
Add the use of your database to your script. Chances are you are working in context of master database !
CREATE DATABASE dbsubjects;
USE dbsubjects;
CREATE TABLE tblstudent(...
September 26, 2023 at 4:54 pm
Viewing 15 posts - 316 through 330 (of 7,480 total)