Viewing 15 posts - 2,656 through 2,670 (of 6,395 total)
Appreciate that IIF is new in 2012, just with it being in a 2008 forum, I automatically assumed IIF = SSRS IIF not a SQL IIF.
Hence why it is always...
January 29, 2013 at 6:25 am
The stairways section, goes from basic up to detailed information on SSIS http://www.sqlservercentral.com/stairway/72494/
What you want seems pretty basic.
You need 2 connection managers, 1 Excel which points to the xls file,...
January 29, 2013 at 6:06 am
CASE Rank WHEN 1 THEN 'Gold' WHEN 2 THEN 'Silver' ELSE 'Bronze' END AS RankColour
So your after something like the above?
IIF wont work in SQL as its not a SQL...
January 29, 2013 at 6:00 am
Then I would ask that you post the table definition, some sample data and what the expected outcome should look like on the report.
January 29, 2013 at 5:47 am
The same way you would run it via SSMS
SQLCMD -S server -E "EXEC dbo.CreateDatabase @DBName = 'DatabaseName', @DataPath = 'C:\data\Databasename.mdf', @LogPath = 'C:\log\Databasename.ldf'"
January 29, 2013 at 5:32 am
Lokesh Vij (1/29/2013)
WITH DelDup
...
January 29, 2013 at 5:09 am
In an expression you need to refer to the column as a Field using Fields! then you give it the field name so Fields!Rank then you get the property, in...
January 29, 2013 at 5:07 am
Look at cast or convert using a date style http://msdn.microsoft.com/en-us/library/ms187928.aspx, style 100 or 109 may be the ones to go for.
January 29, 2013 at 4:54 am
Expected behaviour of SQL
Read the following article http://msdn.microsoft.com/en-us/library/ms187928.aspx, especially the Truncating and Rounding Results section
Inserting a 4 digit INT into a 3 character length string, returns * detailing result length...
January 29, 2013 at 4:47 am
You need to qualify what Rank is, if its a field in a Data Set then you need to do something like the below.
=IIF(Fields!Rank.Value =1,'Gold', IIF(Fields!Rank.Value =2, 'Silver', 'Bronze'))
January 29, 2013 at 4:40 am
You may want to look at alternatives like a SMARTboard, or a AcitvBoard by Promethean (disclosure, I work for them) which you can just hook a PC into.
January 29, 2013 at 4:15 am
Bit tricky as you have no identifer on the rows
SELECT ROW_NUMBER() OVER (PARTITION BY Col1, Col2 ORDER BY Col1, Col2) AS RowNumber,
Col1, Col2
INTO #TEMP
FROM
DuplicateRcordTable
TRUNCATE TABLE DuplicateRcordTable
INSERT INTO DuplicateRcordTable (Col1, Col2)
SELECT...
January 29, 2013 at 4:10 am
Perry Whittle (1/29/2013)
anthony.green (1/29/2013)
January 29, 2013 at 4:07 am
Its just a table we have in our monitoring database which contains the list of email addresses for different alerts.
So you just need to replace it with the email addresses...
January 29, 2013 at 4:06 am
Viewing 15 posts - 2,656 through 2,670 (of 6,395 total)