Viewing 15 posts - 1,111 through 1,125 (of 4,085 total)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 25, 2018 at 10:23 am
Have you looked into the OUTPUT clause. It sounds like that might serve your purposes. It's available in INSERT, UPDATE, DELETE, and MERGE statements and allows you to generate a...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 25, 2018 at 7:28 am
SELECT J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 2:48 pm
First, your table script is messed up. I suggest you update it.
Second, ROLLUP has a very specific meaning, which is not what you want here. Try searching on...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 2:24 pm
I don't have time to work on this right now, but I think that the answer will come down to density of the duplicates. That is, it depends on the...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 12:48 pm
i would like to create the virtual column result with if exist condition.
Example : ...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 12:34 pm
I suggest you read the following article on Packing Intervals. It outlines a better approach to this. You really need much more sample data for anyone else to...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 11:34 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 9:45 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 8:48 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 8:25 am
The code sample is a recursive CTE (rCTE) and the WHERE clause is there to prevent infinite recursion, but this is a bad example to be following, because an rCTE...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 8:16 am
The main reason that your procedure is slow is that you are using a CURSOR. SQL is optimized for set-based operations, but the CURSOR forces it run for each member...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 8:00 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 24, 2018 at 7:31 am
I hate it when people give you requirements in dribs and drabs.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 23, 2018 at 2:51 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 23, 2018 at 2:45 pm
Viewing 15 posts - 1,111 through 1,125 (of 4,085 total)