Viewing 15 posts - 6,316 through 6,330 (of 22,211 total)
All this "never use public WIFI" and "never work in public" might be viable when you have a job that requires you to show up in an office from 9-5....
April 14, 2015 at 6:00 am
MotivateMan1394 (4/14/2015)
HiCan I use this command to check my databases every night. (in a job)
(Before I get caught)
And I should read the report every morning ?
Piling on with Gail.
Yes....
April 14, 2015 at 5:53 am
With modern SAN "drives" actually consisting of some number of shared drives, the whole idea of splitting your storage between data and logs gets kind of weird. For most systems,...
April 14, 2015 at 5:49 am
April 14, 2015 at 4:36 am
OK. Fair enough. Let's try this one. It might also be found somewhere in here... maybe.
April 14, 2015 at 4:35 am
You could try searching sys.dm_exec_query_stats in combination with sys.dm_exec_sql_text to find DELETE/TRUNCATE statements. It will tell you when the last execution time was, if the query is still in cache....
April 14, 2015 at 4:31 am
You can force the literal string to be NVARCHAR by using the N'Somestring' syntax. Try that with the same code.
April 14, 2015 at 4:29 am
The solution posted by Cadavre looks very complete.
One possible change, when looking at the situation where there are fewer columns, in the SELECT clause, I'd probably use COALESCE instead of...
April 14, 2015 at 4:28 am
I believe it's part of this report.
April 14, 2015 at 4:25 am
That book is absolutely the place to start.
Performance monitor is one of the tools you'll use to capture metrics. Those metrics are listed in the book. You're also going to...
April 14, 2015 at 4:23 am
It would be very helpful to know the error.
You can attach an image by scrolling down. There's a section below called Attachments.
April 14, 2015 at 4:17 am
Company I worked for did regular searches of the internet for the use of their name. One hit came back on Ebay. A stolen laptop was being advertised for sale...
April 14, 2015 at 4:16 am
ScottPletcher (4/13/2015)
Yeah, a couple of hundred rows with no overlap is not much of a test bed. But the plan still shows what I expected: the UNION-only queries concat...
April 13, 2015 at 4:40 pm
It made me curious, so I put this together real quick:
SELECT a.City,
a.PostalCode
FROM Person.Address AS a
WHERE a.City...
April 13, 2015 at 3:53 pm
And if you are getting multiple results, instead of DISTINCT which is an aggregation command, use TOP 1 with an ORDER BY of some sort. That's much more likely to...
April 13, 2015 at 12:07 pm
Viewing 15 posts - 6,316 through 6,330 (of 22,211 total)