Viewing 15 posts - 4,246 through 4,260 (of 5,109 total)
Edit: Misunderstood, sorry. Can your incomes have a value lower than 0? For example, couldyou instead do:=CountDistinct(IIf(IIf(IsNothing(Fields!Income.Value), -1, Fields!Income.Value) = 0, Fields!ClientID.Value, Nothing))
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 13, 2017 at 3:38 pm
Thanks Perry, but I think you've missed the point of post. The remote server is not on site, nor online. I cannot sync to something, if that something isn't accessible. Thom~ Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 13, 2017 at 9:58 am
Maybe:="FROM " & FORMAT(DATEADD("M", 0 - Parameters!MONTHS.Value, DATEADD("M", DATEDIFF("M", "01/01/2000", TODAY()), "01/01/2000")), "MM/dd/yyyy hh:00 tt")
Note this will always round to the start of the month, at midnight. So,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 13, 2017 at 9:34 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 13, 2017 at 8:56 am
Thanks John.
The server will be rebuilt exactly as it is now. Same SQL version (down the the KB), same Windows version, should even be the same hardware. Instance...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 13, 2017 at 7:38 am
On the note of "gotchas", as Gail pointed out there are a lot of changes from 2000 to 2016. MSDN does list all the Breaking changes from version to version,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 13, 2017 at 7:01 am
SELECT CONVERT(decimal(8,4),REPLACE(@B, '%','')) / 100;
--Or, if you want ANSI SQL
SELECT CAST(REPLACE(@B, '%','') AS decimal(8,4)) / 100;
Edit: Best practice, store your Percentage values as decimals,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 11, 2017 at 2:47 pm
Grouping does exactly that, groups the data. Thus, in your SQL above it will given you the maximum date for each individual group you have defined ( l.sys_loc_code,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 10, 2017 at 11:27 am
I, too, have no idea what you mean. If, however, you have additional requirements, then do please let us know(with some context). I'm sureone of us will be able to...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 10, 2017 at 10:43 am
If you want to get the value '80' from 'APP4005673452-45580' why not use RIGHT('APP4005673452-45580', 2)?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 10, 2017 at 8:41 am
There's no DDL or sample there, so the above won't help us help you. Check the link in my signature.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 10, 2017 at 7:40 am
Can you provide us with some DDL and (obscured) sample data please? We have little idea from your post what your structure looks like so giving an answer for your...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 10, 2017 at 5:40 am
GilaMonster - Friday, February 10, 2017 3:19 AMLast time I checked it was ~46k points. Where the hell did 3000 come from?
New...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 10, 2017 at 3:26 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 9, 2017 at 3:00 pm
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
February 9, 2017 at 2:54 pm
Viewing 15 posts - 4,246 through 4,260 (of 5,109 total)