Viewing 15 posts - 676 through 690 (of 4,085 total)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 6, 2019 at 9:40 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 6, 2019 at 8:00 am
I'm not sure that the OP actually wants the results pivoted. I think that this will also be faster, but that will be hard to test without any sample data. J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 5, 2019 at 12:22 pm
Look at ROW_NUMBER(). If you follow Steve's advice, you may get tested code.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 5, 2019 at 11:54 am
Options 2 and 3 both violate First Normal Form. It would be a major pain to add new flags, and there wouldn't be an easy way to discontinue flags. J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 5, 2019 at 8:52 am
Please provide sample data and expected results. Read the first link in my signature to learn how.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2019 at 10:35 am
I believe that the DENY permissions take precedence over any GRANT permissions.
Also, OP, when you are creating topics, it's very helpful to summarize the question in the name...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2019 at 9:44 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2019 at 9:32 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 1, 2019 at 8:51 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
January 31, 2019 at 9:20 am
Using the above Cross Apply where we have 3...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
January 31, 2019 at 9:08 am
This design is absolutely HORRIBLE. Push back and say "No" before it's too late.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
January 31, 2019 at 8:58 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
January 31, 2019 at 8:28 am
Because NUMERIC(4,2) sets two spaces for decimals, which only leaves two spaces for the integer portion. Since 50*10=500 and 500 requires three...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
January 30, 2019 at 4:19 pm
You don't need the CASE expression.
SELECT o.NameRecord,
ca1.value1,
ca1.value2,
ca1.valueType + ' has changed from ' + ca1.value1 + ' to ' +...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
January 30, 2019 at 12:43 pm
Viewing 15 posts - 676 through 690 (of 4,085 total)