Viewing 15 posts - 196 through 210 (of 622 total)
If you can I would change the code so that the input parameter is VARCHAR and use discreet values 'All','One','Multi'
There is no context behind the 0,1,2 so how would...
March 9, 2016 at 7:13 am
Bump, Set, Spike!
February 24, 2016 at 10:46 am
Kudos for seeking out assistance when you don't know the answers and well on finding SQLServerCentral forums. Jeff, Lynn, GilaMonster and Koren are all experts in this...
February 24, 2016 at 6:33 am
Nikku,
On a less facetious note, The other are correct, in a straight file format (CSV, EDI, flat file) or another table you would not be able to identify the...
February 24, 2016 at 6:10 am
This is a perfect example of why you should have an N-tier approach to the application development and MVC lends itself to this. MVC is a generic pattern but...
February 22, 2016 at 9:34 am
goodjob a_k. Glad that the suggestions were useful to you and for posting your resulting code for others to learn from. as you can see dynamic pivot / unpivot...
February 22, 2016 at 12:49 am
I agree that they are static, but I was referring more to the source of the script rules, If you use UNPIVOT, you do that on named fields. In...
February 19, 2016 at 9:11 am
That might work but it is data-centric rather than schema-centric. When the company introduces a new product line and creates 'CATE-5' you have to modify the query...
February 19, 2016 at 8:59 am
Slightly OT but 'no date' as NULL, '1753-01-01' or '9999-01-01' will have different performance impacts depending on your database collation and indexes. My understanding is that under most...
February 19, 2016 at 8:53 am
For What it is worth, If I have to repeat the CASE logic in the WHERE or GROUP clauses, I prefer to wrap the original query as a CTE and...
February 19, 2016 at 8:42 am
The short answer is NO.
The longer answer is YES. (by one character :-D)
In order to produce the data in table 3, you need to UNPIVOT the data in table 2...
February 19, 2016 at 5:10 am
I think your problem is the way you are trying to find the start and end dates. The end date is
2016-01-13 09:00:00.000
and you are asking for where the end...
February 3, 2016 at 7:48 am
SSRS is not my natural home 😀 so I was not aware that IIF(x AND y) is a bitwise operation. Maybe I wasn't...
January 19, 2016 at 3:17 pm
Jacob Wilkins (1/13/2016)
January 18, 2016 at 2:09 pm
Thanks Jeff,
I will be comparing a subset of the output to another data set to carry out reconciliations: missing records from both sets and discrepancies in values.
The business scenario is...
December 14, 2015 at 3:43 am
Viewing 15 posts - 196 through 210 (of 622 total)