Viewing 15 posts - 211 through 225 (of 562 total)
All thanks for your time and attention.
I started of with the post:
http://www.sqlservercentral.com/Forums/Topic1760478-3412-1.aspx
And tried to construct a solution from the solution presented there.
That was a bad idea. Spend some...
December 22, 2016 at 8:57 am
drew.allen (12/20/2016)
December 22, 2016 at 8:27 am
BrainDonor (12/1/2016)
I wrote a small series on isolation levels a while back, so I could understand how they worked.Start at http://wp.me/p3Vxvi-8R and see if they help.
Yes this does help. Thanks.
Although...
December 2, 2016 at 1:59 am
GilaMonster (12/1/2016)
Repeatable read vs read committed: can two identical selects within...
December 1, 2016 at 8:36 am
ChrisM@Work (10/21/2016)
The guesses made by the optimiser are whacked somewhat by the ranges.
Yes they are WHacked.
Try forcing a loop join reading first from the ranges table like this:
SELECT *
FROM...
October 24, 2016 at 4:04 am
Here is a 'fairly' simple solution to your problem.
First a table is 'created' which contains the totals for each column.
Then this table is used to calculate the percentages for all...
October 21, 2016 at 6:51 am
Bit late 😀
I was looking for a similar question and found:DECLARE @DumbTable TABLE (cat CHAR(1), id TINYINT, rw TINYINT);
INSERT INTO @DumbTable SELECT 'A' as cat, 3 as id, 1 as...
October 10, 2016 at 6:02 am
Additional scripting for testing the special characters, to be run after the table is populated:
--
-- After creating and populating the table I reduce the number of groups TO 1
--
delete strings...
August 25, 2016 at 4:04 am
Hello Alan and others,
First thanks for supplying the scripts and the timings.
Great.
Alan.B (8/24/2016)
Well, well... 4,577 reads for the scalar udf vs 69,222 with the XML PATH method (regardless of special...
August 25, 2016 at 3:05 am
Alan.B (8/24/2016)
storing the text as text (varchar or nvarchar) is the way to go if you're not doing that.
Note this article by Wayne Sheffield about this XML concatenation technique,...
August 24, 2016 at 4:16 pm
Sergiy (8/22/2016)
My script does not produce errors.
This query:
select '1500-02-29' date, DATENAME(dw,'1500-02-29'), DATEPART(dw,'1500-02-29')
results in conversion error ....
Sorry I thought that the script was yours and that it resulted in...
August 23, 2016 at 3:12 pm
Here is some sample data.
This data is adapted from:
http://www.sqlservercentral.com/Forums/Topic1744128-391-1.aspx#bm1744270
2015-10-12 7:09:13 AM (This is shown at my location).
First part of the data generates 40 000 words.
The words are...
August 23, 2016 at 3:06 pm
mister.magoo (8/23/2016)
the important things are to use ",type" in the FOR XML PATH... and to extract the ".value" of the...
August 23, 2016 at 2:24 pm
mister.magoo (8/23/2016)
To answer your question about how (not getting involved in why)
Thanks mister magoo,
I can not confirm yet if this works, so I have to try that a bit later.
I'll...
August 23, 2016 at 1:10 pm
Thanks all,
This is done from my tablet and therefore I have no code of example handy.
XML
is not the purpose and not a target it is only the means to get...
August 23, 2016 at 12:32 pm
Viewing 15 posts - 211 through 225 (of 562 total)