Viewing 15 posts - 1 through 15 (of 71 total)
sknox (12/21/2016)
Actually, what's happening in your test is that REPLICATE() is silently truncating its result
Ah yes, good spot :hehe:
So the below works fine on 2016, and gives two different hash...
December 21, 2016 at 7:22 am
I think the documentation is slightly misleading on this. I've tried the below on SQL 2014 and 2016, and they both give the same result, namely the same hash...
December 21, 2016 at 5:49 am
The answer is not quite correct. As written, it will run successfully but will not actually drop the trigger.
For logon triggers you need to use:
DROP TRIGGER IF EXISTS CaptureLogins
ON...
October 20, 2016 at 4:34 am
Remember that the INFORMATION_SCHEMA.ROUTINES view also includes any user-defined functions in the database. To just get the list of procs you would need to add a filter:
WHERE ROUTINE_TYPE =...
January 12, 2016 at 4:35 am
SELECT SUSER_SNAME(0x01)
Where 0x01 is the SID. This will give you the login name, i.e. at the server level.
August 19, 2015 at 3:55 am
I don't think you can add the App Intent to the connection from the Agent job. However, if you change the Readable Secondary option to "Yes" rather than "Read-intent...
August 19, 2015 at 3:51 am
Markus (2/2/2015)
how long have you had this installed? Did SQL Server start previously OK?
This server has been live for about 18 months, but hasn't been restarted for at least...
February 3, 2015 at 3:58 am
Thanks Andy, fun bit of trivia for the day!
When searching Google (and I assume Bing) you can use a dash to EXCLUDE certain terms from results, which is why that...
July 1, 2014 at 1:54 am
I think I've found the culprit!
We have a database audit running against one of the databases on this server, monitoring access on a single table and writing results to a...
May 23, 2014 at 9:32 am
Also, on the VM side, the ESX host has 260GB RAM. The total assigned RAM across all VMs is only 160GB. The performance charts show no ballooning is occurring.
This...
May 23, 2014 at 5:00 am
TheSQLGuru (5/22/2014)
Windows installer can keep running and failing indefinitely, using resources.
I am aware of this issue but have never experienced it personally. I assume you'd see an instance of...
May 23, 2014 at 4:52 am
Kevin,
Build is 11.0.3000 - 2012 SP1.
The VM is our standard built template, fairly standard config. If there are any specific configuration issues that you think might be a problem I...
May 22, 2014 at 3:25 pm
Agree with previous posters, the page referenced in the explanation has the trace flags the wrong way round. A Connect bug has already been logged about this:
May 15, 2014 at 5:03 am
Along with most others, I fell into this trap and answered "king_schema". However I do NOT think it's a bad question.
The script doesn't mention anything about the creation of...
March 31, 2014 at 2:49 am
george sibbald (2/18/2014)
February 18, 2014 at 6:06 am
Viewing 15 posts - 1 through 15 (of 71 total)