Viewing 15 posts - 856 through 870 (of 3,543 total)
If @P2 is IP Adress then you need to make it varchar(15) for IPv4 and upto varchar(39) for IPv6.
January 8, 2014 at 6:48 am
I'm a developer and an
- accidental
- pretend
- you are aren't you?
- you have to be there is no one else!
DBA
so I am always arguing with...
January 7, 2014 at 6:56 am
DECLARE @test varchar(max)
SET @test = CHAR(1)+CHAR(87)+CHAR(179)
SELECT CAST(CAST(SUBSTRING(@test,1,3) as varbinary(3)) as int)
December 19, 2013 at 7:04 am
COALESCE(STUFF(SampleString,CHARINDEX(',',SampleString),1,';'),SampleString)
December 18, 2013 at 7:05 am
SELECT COALESCE(GroupName,'Total') AS [GroupName],SUM(NumberOfCases) AS [NumberOfCases]
FROM #TempTable
GROUP BY GroupName WITH ROLLUP
ORDER BY GROUPING(GroupName) ASC
December 18, 2013 at 6:45 am
Jeff Moden (12/17/2013)
Damn... SSRS...
Cursing twice in the same post, shame on you Jeff :w00t:
Now wash your mouth out with soap and say 3 Hail Mary's 😛
December 18, 2013 at 4:19 am
asheppardwork (12/17/2013)
.. but I wanted to let you know I appreciate the thought and have actually gone down that rabbit hole with no success
No problem 😀
Just a thought I had,...
December 18, 2013 at 4:12 am
If this data is for SSRS then you do not have to pivot in T-SQL as you can use a matrix to do the pivoting and simplify the query.
December 17, 2013 at 1:56 am
SELECT CONVERT(char(2),Times,108)+':00' AS [Times],SUM(ACD) AS [ACD],SUM(Other) AS [Other]
FROM SampleData
GROUP BY CONVERT(char(2),Times,108)
ORDER BY CONVERT(char(2),Times,108) ASC
December 16, 2013 at 8:36 am
To see checkboxes in a parameter you have to set 'Allow multiple values'.
This will show a drop down list with checkboxes.
You cannot prevent the user selecting multiple values or the...
December 16, 2013 at 8:22 am
Richard Cranston (12/12/2013)
December 12, 2013 at 10:34 am
Is there a way I can get the value of the column when I have no data for that cell?
Why?
Because you are using a matrix when you apply fill to...
December 12, 2013 at 8:48 am
The value should not matter as you are testing the date for the column.
Please post the expression you are using.
An example would be
=Choose(Weekday(Fields!Date.Value),"Red","Blue","Blue","Blue","Blue","Blue","Red")
December 12, 2013 at 7:18 am
Lowell (12/12/2013)
this does what you are asking, i think. one expression tests exactly ten characters, the other test the first ten characters
WITH...
December 12, 2013 at 6:06 am
Jeff Moden (12/10/2013)
[font="Arial Black"]Personally, I'd like to know why in the hell anyone would be storing SSNs in plain text![/font]
Are you assuming combo = combination = concatenation 😀
December 11, 2013 at 6:35 am
Viewing 15 posts - 856 through 870 (of 3,543 total)