Viewing 15 posts - 2,611 through 2,625 (of 3,482 total)
Did you create the stored procedure by executing the code to create it? Something like...
CREATE PROCEDURE myProcName
@param1 VARCHAR(20)
, @param2 INT = 10
AS
SELECT field1, field2, field3
FROM MyTable
WHERE field1 = @param1
AND...
March 15, 2015 at 10:17 pm
I have two tables one lists sites names while the other lists the completed tasks with the date of completion for the sites (the same site could have completed the...
March 14, 2015 at 2:56 am
Looks to me like you're missing something. Is there no "Account" table somewhere? If you think about a bank account, at its simplest, it's something like:
CREATE TABLE Account(
...
March 13, 2015 at 7:40 pm
#1: one way is to use a value list of the possible values. If you create a dataset of the values you can just use it.
#2. You can use...
March 12, 2015 at 5:47 pm
Maybe you should have explained that to begin with.
Bite me.
March 12, 2015 at 1:12 pm
Why not just filter the dataset?
March 12, 2015 at 9:48 am
Where do you get the data from?
You could transpose it in SSIS or Excel (that's what I used) and then it would be easy to use in SSRS. Then...
March 10, 2015 at 10:14 pm
duplicate post! oops!
Okay, I think I got it...
Here's the stored procedure (I'm sure Dwain will school me on doing it this way, but I was just trying to get it...
March 10, 2015 at 8:44 pm
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
Viewing 15 posts - 2,611 through 2,625 (of 3,482 total)