Viewing 15 posts - 361 through 375 (of 13,849 total)
If you're going to create a temp table, at least make it temporary!
DROP TABLE IF EXISTS #sat_temp;
CREATE TABLE #sat_temp
(
Domain NVARCHAR(255)
);
INSERT #sat_temp
(
...
July 3, 2024 at 8:22 am
EXISTS will do it. But as you have not provided consumable data, I can't code it for you.
July 1, 2024 at 6:36 pm
WITH bunch
AS (SELECT caseid
,anotherid
,locked
...
July 1, 2024 at 4:04 pm
First I want to thank anyone who takes a moment to help with this. I really appreciate all the help I've gotten here over the years and I wish...
July 1, 2024 at 8:06 am
I've not heard of anything like that, not that I've looked.
But if you are able to pull together some sample data and desired results, someone here might have a go...
June 27, 2024 at 9:27 am
You can use CASE in ORDER BY and you can get variable sorting to work. You can also get round the varchar/numeric issue by using an expression in the ORDER...
June 27, 2024 at 8:42 am
Thank you, Jeff. That would only require installing Office, or at least Excel, on the server, correct? I could document which version of Excel is used.
No, this is not...
June 27, 2024 at 8:14 am
If you can recreate the issue in a test environment, can you try removing the index, performing the problematic insert & then looking at the results?
Or could the source data...
June 25, 2024 at 1:08 pm
Rather than setting the column types, I suggest you add a data conversion component after the source to convert from source to target datatypes. It is these converted columns which...
June 24, 2024 at 8:00 am
Thank you for elucidating. It's a really interesting problem.
June 19, 2024 at 3:51 pm
Perry Whittle wrote:anyone finding the posts in last couple months are real Facepalmers
You should start a thread about that 😉
Bravo, Neil!
June 19, 2024 at 10:06 am
Wow, you've obviously had a lot of 'fun' with this, well done!
Suggesting that image files are not compressed is, however, incorrect. They are heavily compressed, just not using Zip.
June 19, 2024 at 8:42 am
Not a direct solution, but have you considered creating a temp table to hold the results of running sp_whoisactive, then doing an
INSERT #SomeTable
EXEC sp_whoisactive
followed by whatever filtering...
June 19, 2024 at 8:34 am
Scott's solution uses zero temp tables.
June 17, 2024 at 5:28 pm
You want me to write your queries for you, despite not having provided DDL and consumable sample data yourself?
If you understand the principle behind what I have suggested, you should...
June 17, 2024 at 12:15 pm
Viewing 15 posts - 361 through 375 (of 13,849 total)