Viewing 15 posts - 2,566 through 2,580 (of 4,820 total)
Don''t have a clue, but just wondering if you should really be using the same port as SSMS. Just seems like an increase in your "attack surface area" that perhaps...
May 2, 2017 at 9:09 am
Please find the attached excel. we used to get data in this format.This column...
May 1, 2017 at 12:20 pm
We have unique key in table which is hashbye sha1.
This value is combination of multiple...
May 1, 2017 at 8:03 am
I think the reason you haven't seen anyone do that kind of thing is fairly simple. While Word has a lot of formatting capability, you still have to find a...
May 1, 2017 at 7:25 am
This should work to replace the DISTINCT. It gives the correct result:DECLARE @test-2 AS TABLE (
id int,
grp varchar(25),
keyposition int,
KeyValue varchar(100)
);
INSERT INTO @test-2 VALUES...
April 28, 2017 at 2:35 pm
I get:
ORDER...
April 28, 2017 at 2:26 pm
How about removing the DISTINCT and adding an ORDER BY ?DECLARE @test-2 AS TABLE (
id int,
grp varchar(25),
keyposition int,
KeyValue varchar(100)
);
INSERT INTO @test-2 VALUES (123,...
April 28, 2017 at 2:19 pm
Take a look at how I took your query and just supplied a temp table name and all the possible values with some sample numbers to work with. If you...
April 28, 2017 at 9:42 am
I'm pretty sure any kind of HASH function is going to operate on the binary value of a character, so lower case a (ASCII 96) is going to hash differently...
April 28, 2017 at 8:53 am
I'm thinking the net result is something like this:WITH SELECTED_DATA AS (
SELECT C.Cust_MPAN, CONVERT(date, J.PlannedStart, 103) AS [Date], J.[Status], WP.AbortCategory,
ROW_NUMBER() OVER(PARTITION BY C.Cust_MPAN, J.[Status] ORDER BY...
April 26, 2017 at 8:18 am
This has the potential to be challenging, because how would you handle a name like John Paul Revere? I can only think of one effective and performant way to do...
April 25, 2017 at 7:57 am
Jeff,
Every time I "replace" a REPLACE with something less expensive like LEFT, RIGHT, and/or SUBSTRING, the query I'm working on improves it's performance significantly. Of all the string...
April 21, 2017 at 10:14 am
All,
SSIS packages do require an instance of SSIS to be able to run, unless SSDT has now effectively simulated what the Integration Services service was doing in older...
April 21, 2017 at 8:53 am
April 20, 2017 at 11:37 am
Stop using the subtraction of one date from another, and compare your results with using the DATEDIFF function, which operates like this:
DATEDIFF(day, EarlierDateFieldValue, LaterDateFieldValue)
It might hold...
April 20, 2017 at 11:27 am
Viewing 15 posts - 2,566 through 2,580 (of 4,820 total)