Viewing 15 posts - 1,111 through 1,125 (of 4,087 total)
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...
July 25, 2018 at 7:28 am
SELECT 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...
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...
July 24, 2018 at 12:48 pm
i would like to create the virtual column result with if exist condition.
Example : ...
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...
July 24, 2018 at 11:34 am
July 24, 2018 at 9:45 am
July 24, 2018 at 8:48 am
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...
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...
July 24, 2018 at 8:00 am
July 24, 2018 at 7:31 am
I hate it when people give you requirements in dribs and drabs.
Drew
July 23, 2018 at 2:51 pm
July 23, 2018 at 2:45 pm
Viewing 15 posts - 1,111 through 1,125 (of 4,087 total)