Viewing 15 posts - 211 through 225 (of 13,463 total)
pretty sure neither the SQL account or the SQL agent need any access to the database. they are used to interact with things outside of SQL server instead...for example backup...
March 19, 2019 at 12:35 pm
i would lean more towards copying the file as a new name, with name featuring the timestamp to the millisecond, and manipulate that.
also, i would use an isolated copy,...
March 12, 2019 at 1:58 pm
i do the same as what Martin does, but I am using extended properties for my source of tables instead of something external to the database,
the advantage is, when...
March 12, 2019 at 1:54 pm
procedure stats is server wide, but your JOIN and WHERE statement limits it to the current database context.
a minor tweak to use built in finctions and you can get...
March 11, 2019 at 3:03 pm
if you have the actual encrypted varbinary value to compare it to, then yes, i believe it will work.
if you needed to convert a known value to an encrypted...
March 7, 2019 at 5:49 am
If your columns have been set with deterministic always encrypted, then the provider does that for you automatically.
In SQL Server Management Studio or in your regular connection string, you...
March 7, 2019 at 5:22 am
just test your changes via a select query before you implement an actual update:
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
IF OBJECT_ID('tempdb.[dbo].[#recording]') IS NOT NULL
DROP...
March 4, 2019 at 3:17 pm
to restore a differential, you need the database to have been restored from a full backup and also be in recovery mode...nothing can read or write to it between when...
March 1, 2019 at 4:17 am
I think what you want to do is script out the replication, and fill in the service account passwords if needed in the script.
then when you restore the database,...
March 1, 2019 at 3:27 am
it sounds like you did a lot of unnecessary work.
you lost the E drive, and should have looped in the SAN Admins to get the drive up. then you...
February 28, 2019 at 7:01 pm
here's a snippet which checks for database owners and job owners: you will need to run this on each server:
DECLARE @name VARCHAR(128)
SELECT @name...
February 28, 2019 at 2:00 pm
Active directory will have a list of all servers, which you could then use a WMI query to query services,and get the names of each instance on the server...
then...
February 28, 2019 at 12:04 pm
do you have all three elements needed, the binary image, the filename and extension in your table?
SQL Server itself does not have tools for sending data to files,...
February 28, 2019 at 5:00 am
i hope this helps:
this is the extended events definition i use for a deadlock graph:IF NOT EXISTS(SELECT * FROM [sys].[server_event_sessions] [dxs] WHERE [dxs].[name] = 'Deadlock_Tracking')
February 26, 2019 at 12:35 pm
you can install the 32 bit side by side if you execute the package with an optional flag.
make sure you open an Administrative command prompt window, and run...
February 26, 2019 at 6:56 am
Viewing 15 posts - 211 through 225 (of 13,463 total)