Viewing 15 posts - 2,326 through 2,340 (of 59,086 total)
I don't know the data well enough to say with conviction, but there has to be some criteria that you could use in an open query, other than a join,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 2:17 am
Heh... I've been having issues with caffeine absorption lately. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 2:10 am
Guys... the OP doesn't know which domains contain a "B" ahead of time. He was just explaining the desired results for the test data he provided. Or, at least, that's...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 1:50 am
Scratched the answer that was here... I didn't read the post correctly.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 1:38 am
The source table has 2 billion but not all records are chosen since it does a lookup ql.Tag_ID = sd.tagid
Any example of a script to do it in batches...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 1:31 am
Heh... you're the one touting the handle of "sqlguru". You should be teaching us how you fixed the issue. 😀
If you want help with a performance issue, we need more...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 1:24 am
No problem Jeff. Were it not for Coffee, I would never have survived the 20 years in the Navy!
I only did 8 1/2 in the Navy... Silent Service on...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 7:58 pm
Yeah... I just made that realization. Like I said in my edit of my previous post, the low level alarms for caffeine have sounded. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 7:21 pm
Have you tried running the queries with a hint to force the use of the legacy cardinality estimator?
Also... when you migrated the data to the new server, did indexes get...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 7:14 pm
LOL! Ok.
The LPKCX are Cranes. The date and times are the location of the cranes as indicated by the Lat/Long. Calculating the distance between the given LPKCX location and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 7:02 pm
DROP TABLE IF EXISTS #T;
SELECT *
INTO #T
FROM (VALUES ('1A','E'),('1A','IR'),('1A','N'),('1A','SC'),('1A','SCIR'),
...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 3:12 am
Post withdrawn. Found something odd.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 1:41 am
So do you have another column that would enforce the order of the data you posted or doesn't the order in the resulting rows matter?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 11:20 pm
Awesome info, Grant. Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 11:11 pm
Post withdrawn. Found something odd.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 6:35 pm
Viewing 15 posts - 2,326 through 2,340 (of 59,086 total)