Viewing 15 posts - 826 through 840 (of 1,993 total)
when you script it (as jeff correctly suggested), run activity monitor or sp_who2 and see if the process is being blocked
not wanting to teach anyone to suck eggs, but your...
MVDBA
October 7, 2019 at 10:59 am
Personally i'm still a little old school and I like to go and see all the blinky lights on a server.
But I have found that choosing an azure or AWS...
MVDBA
October 7, 2019 at 10:47 am
I've always found with migrating CLR assemblies that you are better off scripting it from your old server
it will generate a CREATE assembly script that includes a big old binary...
MVDBA
October 4, 2019 at 9:16 am
sounds like you need to use sp_attach_single_file_db
MVDBA
October 4, 2019 at 9:12 am
so - hold on - are you guys saying that I should put every Saturday and sunday into my holidays table? that kinda makes sense.....
all I have to do is...
MVDBA
October 4, 2019 at 8:02 am
so if it's a call logging system.... you probably read more than you write... can you go through the code and find "appropriate" places to use NOLOCK
NOLOCK is not a...
MVDBA
October 4, 2019 at 7:56 am
can you give us an idea of what the application does - it might help give us some context on what areas to look at
I did notice that you don't...
MVDBA
October 3, 2019 at 4:11 pm
The AG shouldn't matter (assuming you are talking about availability groups)
optimise for ad hoc workloads is a setting for the server (right click on the server in management studio and...
MVDBA
October 3, 2019 at 4:01 pm
Without wanting to give away the answer, the script creates an empty table variable that it populates to generate a select. So I would look at rewriting the entire...
MVDBA
October 3, 2019 at 3:51 pm
you have an awfull lot of plans in the cache for just one database.
are you using stored procs/parameterised queries? - have you tried turning on the setting for ad-hoc workloads?
looking...
MVDBA
October 3, 2019 at 3:05 pm
i'm looking for something as simple as
DECLARE @c INT;
SELECT @c = DATEDIFF(d, '01/01/2019', GETDATE())*5/7;
DECLARE @h INT
select @h=COUNT(*) FROM holiday WHERE date_holiday BETWEEN '01/01/2019' AND GETDATE()
SET @c=@c-@h
SELECT @c
but maybe a little...
MVDBA
October 3, 2019 at 2:54 pm
p.s. And because you've put forward a good effort, IMHO, PM me and I'll show you how to think about this to solve it.
jeff - send me the info...
MVDBA
October 3, 2019 at 2:29 pm
Many of us "like" a certain type of person. Not picking on you or implying you are this way, but often people that want to say everyone is...
MVDBA
October 3, 2019 at 2:26 pm
this is one of those times where the query store can really help you (maybe)
if you can find that query in the query store (maybe as a regressed query) then...
MVDBA
October 3, 2019 at 1:06 pm
100 % you can - all you have to do is make sure the unc path has the correct permissions for the account that is running the backup (normally the...
MVDBA
October 3, 2019 at 11:28 am
Viewing 15 posts - 826 through 840 (of 1,993 total)