Viewing 15 posts - 1,096 through 1,110 (of 1,192 total)
From https://msdn.microsoft.com/en-us/library/ms175549%28v=sql.105%29.aspx:
Use Service Control Manager to start or stop a clustered instance of SQL Server. You cannot pause a clustered instance of SQL Server.
(emphasis mine)
It makes some sense that...
May 7, 2015 at 10:56 am
Ah, my apologies!
I meant to respond to this last week and it somehow slipped my mind entirely.
So, the problem seems to be twofold.
First, SQL Server grossly overestimates the...
May 7, 2015 at 10:35 am
I should get a nickel or something every time I cite that Paul White article, since I seem to be continually going back to it 🙂
Read the article, specifically the...
May 7, 2015 at 7:25 am
If you're really adventurous (and the relevant log is still around, either in the active log or in a backup), you can get some information like that from the transaction...
May 6, 2015 at 9:49 am
Yeah, running that ALTER DATABASE command requires an X lock on the DB in question, so you effectively have to be the only session using the DB.
You could run it...
May 6, 2015 at 9:41 am
From the Paul White article I referenced earlier in the thread:
Dropping a temporary table in a procedure does not count as DDL, and neither does TRUNCATE TABLE, nor UPDATE STATISTICS....
May 6, 2015 at 7:36 am
Hmmm...that is frustrating.
I suppose you could read the log/log backup looking for the XactIDs mentioned in the xml or run a trace to see what batches typically precede those SELECTs,...
May 5, 2015 at 2:12 pm
That is intriguing.
Does passing the 0x020000000b814f2b111b62d3b9a53282e0b2aaccbc90630b sql_handle to sys.dm_exec_sql_text just return the same SELECT statement?
May 5, 2015 at 12:40 pm
Alright, life got busy, so it took me much longer to post the demo than I'd wanted.
At any rate, here's a demo of how the process works. So long as...
May 5, 2015 at 11:49 am
That indicates that the column companyname does not exist in the Orders table, which I believe is true in the normal Northwind schema.
To pull in companyname, you'll need to join...
May 4, 2015 at 3:32 pm
Ah, I was in the middle of typing up a response and Gail beat me to it!
+1 to what she said.
Also, your BEGIN is missing an END.
Cheers!
May 4, 2015 at 3:01 pm
Like Jason said, this is recorded in the default trace, so you can just query it to look for growth events.
Something like this would do the trick:
DECLARE @filename NVARCHAR(4000);
-- Current...
May 4, 2015 at 8:02 am
As I understand it, you probably should run CHECKDB against tempdb, since corruption can occur, and the files aren't zeroed out on restart, so the corruption can stick around.
Here http://www.sqlservercentral.com/Forums/Topic1025006-266-1.aspx,...
May 1, 2015 at 4:12 pm
Well, you can't calculate exactly how much you need from PLE, which is why that's not how my process works 🙂
You can't really derive much from any of those counters,...
May 1, 2015 at 3:03 pm
That error message suggest you've selected SQL Server Authentication and left the Login field blank. At least, that's the only time I've seen that error.
Cheers!
May 1, 2015 at 8:40 am
Viewing 15 posts - 1,096 through 1,110 (of 1,192 total)