Viewing 15 posts - 2,416 through 2,430 (of 7,187 total)
Extended Events is one of the few things I recommend doing in the GUI rather than with scripts. There are some promising-looking events in the session category that you...
July 22, 2016 at 8:49 am
Yes. Capture the lock_escalation event in an Extended Events session.
John
July 22, 2016 at 8:32 am
But you said in your original post
The store procedure itself resides on server3
Are you now saying it exists on all servers? If it does, try setting up an extended...
July 22, 2016 at 8:17 am
Is the SQL Server Browser service running on the remote server? I'm not sure whether or not it tries to connect on 1433 for a named instance. If...
July 22, 2016 at 8:13 am
Surely your stored procedure is attempting to execute sqlbackup at the remote server? I'm guessing that the domain group in question has permissions on it on server1 but not...
July 22, 2016 at 7:56 am
Start here:
Connection string is not valid
Have a look at the connection string. Does it look right? If it does, please post it here, changing any sensitive information.
John
July 22, 2016 at 7:36 am
Yes, it will. First, make sure you don't have any duplicate jobids in the second table so that you don;t get unpredictable results, then use UPDATE...FROM to join and...
July 22, 2016 at 7:23 am
Not out of the box, as far as I know. You could set up individual alerts that run a job that writes to a table, and have a trigger...
July 22, 2016 at 5:32 am
Excellent. So which column is the clustered index on? Please post the execution plan as requested, plus DDL (including indexes) for all tables.
John
July 22, 2016 at 5:08 am
Is the clustered index on the column you're updating? That's going to cause major pain. Aside from that, can't really help without seeing the (actual) execution plan.
John
July 22, 2016 at 4:59 am
Yes! I like that. I think I prefer going with explicit dates rather than integers - it makes it easier to see at a glance what it's doing....
July 21, 2016 at 8:23 am
You could try [font="Courier New"]sqlcmd -L[/font]. It works better on some networks than others, though. Read the sqlcmd page in Books Online so that you understand the limitations.
John
July 21, 2016 at 7:38 am
This will return 1st April from the year two years before the given date. If you need the date presented in a particular way, do that in the application....
July 21, 2016 at 4:12 am
Or you could go with 13, 26 and 39 weeks, to make it more likely that the manger will be informed on a working day. Start with a query...
July 21, 2016 at 3:22 am
Jeff Moden (7/20/2016)
John Mitchell-245523 (7/20/2016)
July 21, 2016 at 2:28 am
Viewing 15 posts - 2,416 through 2,430 (of 7,187 total)