Viewing 15 posts - 2,626 through 2,640 (of 3,489 total)
Robert,
Well, no wonder you're having such a horrible time of it. I wouldn't have a clue how to graph something like that. What are you starting with, something...
March 10, 2015 at 8:44 pm
If that's the structure of your data, no wonder. Your structure looks wrong.
Got consumable data? (Something I can drop into SSRS and build a quick chart?)
March 10, 2015 at 1:33 pm
Guess I'll have to check my syntax.
I would have thought EXISTS will work better because theoretically it stops looking as soon as the condition is false.
Thanks Wendell!
Pieter
March 10, 2015 at 10:27 am
What does your query/filter look like?
IF you can modify the stored procedure, you can use something like this:
SELECT city, companyname, custid
FROM ...
March 10, 2015 at 2:52 am
Slap a TOP predicate on top of your query...
SELECT TOP 10
vPerf.DateTime,
vPerf.SampleCount,
cast(vPerf.AverageValue as numeric(10,2)) as AverageCPU,
vPerformanceRuleInstance.InstanceName,
vManagedEntity.Path,
vPerformanceRule.ObjectName,
vPerformanceRule.CounterName
FROM Perf.vPerfHourly AS vPerf INNER JOIN
vPerformanceRuleInstance ON vPerformanceRuleInstance.PerformanceRuleInstanceRowId = vPerf.PerformanceRuleInstanceRowId INNER JOIN
vManagedEntity ON vPerf.ManagedEntityRowId = vManagedEntity.ManagedEntityRowId...
March 9, 2015 at 10:13 pm
Robert,
I'm taking a few steps backwards...
Here's your data...
CREATE TABLE AdmitDischarge(
TheHour TINYINT,
ADType VARCHAR(10),
TheCount TINYINT
CONSTRAINT AD_PK PRIMARY KEY (TheHour,ADType)
);
GO
INSERT INTO AdmitDischarge(TheHour, ADType, TheCount)
VALUES (0,'A',2),(0,'D',6),
(1,'A',6),(1,'D',3),
(2,'A',4),(2,'D',4),
(3,'A',1),(3,'D',2),
(4,'A',3),(4,'D',9);
By the looks of things, you could do the...
March 9, 2015 at 10:11 pm
Careful. Using brain dumps is cheating. If you get caught, your exams get invalidated. I think it's ALL of them, so it could be costly.
March 5, 2015 at 11:46 pm
For what it's worth, I would probably build this as a stored procedure in SQL Server. Then you can do something like include the columns you're filtering on in...
March 5, 2015 at 4:44 pm
I've been trying to figure out how to answer this for a couple of days at least...
I faced a situation like this once, but it was in Access (yup,...
February 28, 2015 at 6:49 pm
also note that this thread is almost six years old?
February 27, 2015 at 10:51 pm
you can use STUFF and FOR XML PATH to do it. There are articles on here that show how -- I'm sure because I've read them. Just don't...
February 27, 2015 at 9:12 am
There's pretty much no way I would need them. The company is tiny (like 10 people), and they don't generate data like it's going out of style. I could...
February 27, 2015 at 9:10 am
I was trying to do the latter. Not the size restrictions etc. The idea was to upsize the Access back end to SQL Server (Express) and then use...
February 27, 2015 at 8:48 am
Not enough information. Show us what you tried first.
February 27, 2015 at 7:49 am
Some days, it helps if you think before typing...
you could do it in batches and use a TRY CATCH block for the failure, and write the failed group of records...
February 27, 2015 at 12:08 am
Viewing 15 posts - 2,626 through 2,640 (of 3,489 total)