Viewing 15 posts - 751 through 765 (of 2,278 total)
If both databases are on the same server, you just need to use a 3 part naming convention for your tables in the query.
SELECT one.A, one.B, one.C, two.A, two.B, two.C
FROM...
January 3, 2012 at 9:29 am
I think the best thing to do would be to get some kind of source control software. There are two kinds of developers, those who use source control and...
December 19, 2011 at 9:19 am
Personally I prefer the NoRowsMessage property to indicate that the report ran but does not contain any data. This way you don't get calls asking why the report did...
December 14, 2011 at 2:23 pm
Try putting your values in quotes.
What you have
Parameters!P_Period.Value=12
What I am suggestiong
Parameters!P_Period.Value="12"
Also, is Parameters!P_Period a multi value parameter?
December 14, 2011 at 9:13 am
I always use stored procedures as my dataset query in SSRS. If you do it this way, you will be able to use OpenQuery within the SP with no...
December 14, 2011 at 9:05 am
Good question. Got it right for the wrong reason, learned something. Thanks.
December 14, 2011 at 8:22 am
Ninja's_RGR'us (12/8/2011)
SQLRNNR (12/8/2011)
L' Eomot Inversé (12/8/2011)
Cadavre (12/8/2011)
Boo, missed that 😛Here's my fixed version: -
<code snipped>
Drat, I missed out 6 casts ("0" changed to "cast(cast 0 as datetime) as date)" in...
December 9, 2011 at 6:55 am
Come to think of it the UNPIVOT transform would probably be even easier, and almost certainly more efficient.
December 8, 2011 at 7:49 am
I think an easy approach would to use a Multicast and then 3 different destination transforms, one for each type.
December 8, 2011 at 7:20 am
Cadavre (12/8/2011)
Daniel Bowlin (12/7/2011)
SELECT DATEDIFF(dd,GetDate(),'12/25/11') AS DaysTillChristmas
Just to over-complicate matters . . . 😀
SELECT CASE WHEN GETDATE() > DATEADD(d, 24, DATEADD(m, 11, DATEADD(yy, DATEDIFF(yy, 0, GETDATE()), 0)))
...
December 8, 2011 at 7:15 am
I can't imagine this many databases on a single server, or for that matter in a single company. It would be an interesting experiment to load up a single...
December 8, 2011 at 7:10 am
Viewing 15 posts - 751 through 765 (of 2,278 total)