Viewing 15 posts - 1 through 15 (of 142 total)
i think it is wrong
this query below must return LDM
BECAUSE employee no 407133 exist on two columns rean83 and rean84
DROP TABLE IF EXISTS #F6000059;
CREATE TABLE #F6000059
(
RequestNo INT NULL
,REAN82 INT NULL
,REAN83...
October 21, 2023 at 2:32 pm
I prefere using check sum
my case have numbers only on feature id and feature value
also i working on sql server 2019
so are using CHECKSUM_AGG will working
or not working good
October 25, 2022 at 11:26 am
yes
but issue on performance
so can i write statement above with another way best
October 7, 2022 at 7:36 pm
yes i put index for
CREATE UNIQUE CLUSTERED INDEX cdx ON dbo.PartsHaveBestDisplayOrder (CodeRulesId,PackageId,DisplayOrder,PartId);
but still slow because data is big
so are there are any solution for large amount of data
by rewrite query...
October 7, 2022 at 4:26 pm
thanks for support
September 14, 2022 at 10:24 pm
thanks much for support
i need only to use stuff instead of string aggreagte and heck time and performance
September 14, 2022 at 6:41 pm
i post counts so what i do after that
or what query best for achieve that quickly
September 11, 2022 at 5:55 pm
SELECT f1_AllCount = COUNT(f1.PartId)
,f1_UnqCount = COUNT(DISTINCT f1.PartID)
FROM Technology.Receipe ft
JOIN ExtractReports.dbo.TechnologyPlPartsFeaturValuesOrg f1 ON ft.featureid = f1.featureid
WHERE ft.operatorid = 1;
result is
f1_AllCount f1_UnqCount
124140 ...
September 11, 2022 at 9:48 am
so how to use cross apply as you write below
The optimizer attempts to SORT 65 million rows after a merge join. Yeeeesh. One way to re-write the query would be...
September 11, 2022 at 12:02 am
i found issue
os.path.isdir() working local only
so use another thing working remote to check directory
so How to handle that
August 6, 2022 at 3:58 pm
it remain without change
meaning after apply script
nothing change
but not append to existing file
an nothing change
August 2, 2022 at 4:17 pm
the goal mfrom asking question is to get result above without string aggreagte or comma separated
suppose i have
p1 1,2,3
p2 2,2,2
both p1 and p2 both have same count and same sum
so...
July 25, 2022 at 7:08 am
yes exactly
thanks
June 12, 2022 at 5:47 pm
if Feature name and Feature value not exist on table #partsfeature then i will apply dense rank to take new number for technology id
if Feature name and Feature value exist...
June 12, 2022 at 1:16 pm
after insert part id below
(3900,'grail','51V',NULL)
Null will be 2 because grail feature name and value 51V exist before with technologyid 2
June 12, 2022 at 12:56 pm
Viewing 15 posts - 1 through 15 (of 142 total)