Viewing 15 posts - 2,341 through 2,355 (of 3,480 total)
Ouch! I hate it when I do that... reminds me of the Far Side cartoon... "Thag, take napkin, have mammoth on face."
August 13, 2015 at 3:38 pm
Not enough information. What do you mean by "incorrect"? Is this a matrix or a table? What did you expect vs what you got?
got sample data?
August 13, 2015 at 2:51 pm
oh, that's <> (not equal), the formatting stuff here screwed it up.
August 13, 2015 at 2:12 pm
Might be as simple as
=Sum(IIf(Fields!Factory.Value <> "ABC", Fields!Total_Progs.Value,0))/Sum(IIf(Fields!Factory.Value <> "ABC", Fields!Anotherfield.Value,0))
If you need the total size of Total_Progs/(Total_Progs + Factory), you would have to alter it a little.
Note, you will...
August 13, 2015 at 9:34 am
This works...
SELECT A, B, C, txt
FROM
(SELECT 1 AS A, 2 AS B, 3 AS C
UNION ALL
SELECT 2,1,3
UNION ALL
SELECT 4,1,2) x
CROSS JOIN
(SELECT 'Text1' AS txt
UNION ALL
SELECT 'Text2') y
In your...
August 13, 2015 at 8:59 am
(See, told ya Eirikur could do it... even if I can't remember how to spell his name!)
August 12, 2015 at 11:42 pm
but be sure to get the second edition (or later). The first one was a bit wonky.
August 12, 2015 at 7:44 pm
Eirkur would no doubt be able to do this in a nanosecond, but in a nutshell, you would have to use XQuery to do this. Here's the article that...
August 12, 2015 at 7:11 pm
Error: The buffer manager cannot extend the file "C:\Users\}.tmp" to length 2030084 bytes. There was insufficient disk space
Bigger hard drive? Space on another network drive?
August 12, 2015 at 5:12 pm
Do not pass go. Do not collect $200. Go directly to the bookstore and by a copy of Ralph Kimball's book. he explains how to build a star schema/Data Warehouse...
August 12, 2015 at 3:28 pm
What if you put a parameter in the place of the literal numeric values?
IIf(((DatePart("q",Today)=@theQuarter) and Fields!Qtr.Value=(@theQuarter-1)), False,True)
August 12, 2015 at 11:50 am
Exercise your googlefu!
and dig around on sqlauthority... it's probably on there.
August 12, 2015 at 11:12 am
can you upload your report (with an embedded SQL statement?)
hard to tell from here.
August 11, 2015 at 10:05 pm
The problem is that you have to remove the duplicates before you insert the batch of records.
This is one option:
insert into table_2 (col1,col2,col3)
select DISTINCT col1,col2,col3
from table_1 t1
where not exists (select...
August 11, 2015 at 3:59 pm
Viewing 15 posts - 2,341 through 2,355 (of 3,480 total)