Viewing 15 posts - 3,961 through 3,975 (of 8,761 total)
Nice write-up Ed, good job!
😎
Just to mention, xp_fixeddrives is very handy for doing a quick check.
January 19, 2016 at 5:13 am
Jason A. Long (1/18/2016)
Test data...
IF OBJECT_ID('tempdb..#temp', 'U') IS NOT NULL
DROP TABLE #temp;
CREATE...
January 18, 2016 at 10:49 pm
Orlando Colamatteo (1/18/2016)
Just for the sake of providing an alternative, we can do the same using a...
January 18, 2016 at 10:28 pm
Jeff Moden (1/18/2016)
Ah... got it. Because of your references to Little Endian, I thought you were talking about converting 255.255.255.255 to 255255255255 as an Integer, which requires 5 bytes...
January 18, 2016 at 10:51 am
Jeff Moden (1/18/2016)
Eirikur Eiriksson (1/18/2016)
January 18, 2016 at 7:37 am
thierry.vandurme (1/18/2016)
We have two helper functions converting from/to long/ip.
We subscribe to the datagrid's CellFormatting event and change the...
January 18, 2016 at 6:49 am
nm.rajesh (1/17/2016)
Thanks a lot 🙂
You are very welcome.
😎
January 17, 2016 at 4:29 pm
Must be getting tired, just realized that the XML shredding was heavily affecting the timing, adding a table for the ip ranges brings the matching of the 5 million down...
January 17, 2016 at 4:12 pm
Quick suggestion
😎
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(ID,code,DesiredFlag) AS
(SELECT * FROM (VALUES
(1,'999010',1)
,(2,'000010',1)
...
January 17, 2016 at 3:25 pm
Jeff Moden (1/17/2016)
If you're sorting a BIGINT, I don't believe the sign bit will come into play at all for IP4 addresses.
True but still one is sorting on [D][C][A] which...
January 17, 2016 at 2:25 pm
Jeff Moden (1/17/2016)
Eirikur Eiriksson (1/17/2016)
thierry.vandurme (1/15/2016)
Btw, I use bigint to store IP4 addresses (less space and able to...
January 17, 2016 at 12:42 pm
Jeff Moden (1/15/2016)
thierry.vandurme (1/15/2016)
Btw, I use bigint to store IP4 addresses (less space and able to use ORDER...
January 17, 2016 at 12:33 pm
thierry.vandurme (1/15/2016)
Nice article. May come in use one day so glad you shared that.Btw, I use bigint to store IP4 addresses (less space and able to use ORDER BY)
Using a...
January 17, 2016 at 12:19 pm
Scott's fine code provides the correct answer but logic embedded in the code such as this is neither too readable nor maintainable and what is even worse is that it's...
January 16, 2016 at 1:17 am
nigel. (1/15/2016)
Orlando Colamatteo (1/13/2016)
sushantkatte (1/13/2016)
January 15, 2016 at 8:40 am
Viewing 15 posts - 3,961 through 3,975 (of 8,761 total)