Viewing 15 posts - 3,616 through 3,630 (of 6,397 total)
Hows what?
The CASE statement works out which colour to assign to the value based on the difference in dates, then you need to write your expression as we have done...
October 2, 2012 at 8:47 am
No thats in the dataset, then base your expression off the colourtouse column
October 2, 2012 at 8:39 am
SELECT
Col1,
Col2,
CASE DATEDIFF(DAY, proj.last.publication, GETDATE()) WHEN < 15 THEN 'Green' WHEN BETWEEN 15 AND 29 THEN 'Yellow' WHEN >= 30 THEN 'Red' END AS ColourToUse
Col3,
Col4
FROM
dbo.Table1
October 2, 2012 at 7:32 am
October 2, 2012 at 2:20 am
Wrap it in a case statement and if the value is between 15 and 30 then flag it as a value to mark which colour indicator to use.
October 2, 2012 at 1:47 am
Without data it is hard to trouble shoot, run the procedure with the parameters that where passed in and it should error at the same point, and then you can...
October 1, 2012 at 8:14 am
Something like the below
SELECT
DB1.ProjectName,
DB2.ProjectStage
FROM
Database1.dbo.Table1 DB1
INNER JOIN
Database2.dbo.Table2 DB2
ON
DB1.ProjectStageID = DB2.ProjectStageID
Without knowing your data schemas it is hard to say.
October 1, 2012 at 8:09 am
Looks like you need DATEDIFF functions, one tip do this in the SQL data set not the tablix and then base your expression on that columns
Something like below then based...
October 1, 2012 at 7:59 am
again unsure, never had to do it, would be worth a google and if it is possible let us know how.
October 1, 2012 at 7:56 am
Yes that will resolve the issue, also look at ALTER USER as if I remember correctly sp_change_users_login is scheduled for removal in a future version of SQL.
October 1, 2012 at 7:53 am
Find out what the job runs and debug it, could be SSIS packages, stored procs etc.
October 1, 2012 at 7:50 am
I believe that this is the latest, unsure if Steve has added any more since this
http://www.sqlservercentral.com/Forums/Topic935523-83-1.aspx
October 1, 2012 at 3:45 am
Not sure on that, you will need to build some sort of linking in 1 of the servers.
Something like using linked servers, or building a merged database of both DB's...
October 1, 2012 at 3:37 am
Viewing 15 posts - 3,616 through 3,630 (of 6,397 total)