Viewing 15 posts - 3,031 through 3,045 (of 3,480 total)
If you're using a Slowly Changing Dimension, and this is classwork, you might want to read up on them in Kimball's book. He explains how to do this in...
April 26, 2014 at 1:32 pm
Probably should have done this with a CTE, but anyway, I think this works:
SELECT mx.SaleYear, mx.SaleWeek, mx.highestSale, sd.ProductID
FROM
(SELECT SaleYear
, SaleWeek
, MAX(Quantity) AS highestSale
FROM SalesData
GROUP BY SaleYear, SaleWeek) mx
INNER JOIN...
April 23, 2014 at 9:57 am
If you're using a normal database and not an SSAS cube, then you can use a Calendar table. Here's the article on it: http://www.sqlservercentral.com/articles/T-SQL/70482/
Basically, the Calendar table has a...
April 20, 2014 at 12:26 am
In a dataset that already exists within the ssrs 2008 r2 report I need execute
a stored procedure called StudentData and pass 3 parameter values to the stored procedure. The...
April 20, 2014 at 12:01 am
Yes, that's what I'm saying. I could be wrong, but I couldn't get it to work any other way. Would love an SSRS wizard to set me right.
April 19, 2014 at 9:14 pm
No. do your own work. Read the article, try it, and post your SQL if you get stuck.
April 18, 2014 at 11:37 pm
I think your only option is to do something like this:
IIF([State]='CA',NULL,[ValueColumn])
April 18, 2014 at 10:23 pm
Are you doing this in T-SQL or in Reporting Services?
if you're using SSRS, use a Matrix. Otherwise, read this:
April 18, 2014 at 10:17 pm
seeing that it will be around 1 AM, probably not. But if you post a simple description of what you're modeling and then your model (create table scripts with...
April 16, 2014 at 9:45 pm
My problem is I do not know how to have the dataset call the stored procedure with the 3 parameter values and pass back the 5 different unique data values...
April 16, 2014 at 8:35 pm
Output parameters are your friend:
http://technet.microsoft.com/en-us/library/ms187004(v=sql.105).aspx
April 16, 2014 at 6:32 pm
Can you post a really brief description of what you're modeling and your table definitions on the part you're having trouble with? (start with only maybe two or three...
April 16, 2014 at 6:20 pm
"You can get the job on the basis on your SQL certificate"... depends a lot on how big the pool of available SQL developers is in your area, I guess....
April 14, 2014 at 4:16 pm
In the 2008 version, there's a whole chapter on Customizing Security.
April 9, 2014 at 11:39 am
Thanks SQLBuddy! Way to live up to your moniker! I'll check them out.
April 8, 2014 at 4:54 pm
Viewing 15 posts - 3,031 through 3,045 (of 3,480 total)