Viewing 15 posts - 511 through 525 (of 1,170 total)
You could start with this extended query, and find/analyse the rows having count(*) > 1.
select
purchaseorders.traderid,
suppliers.name,
stockbatches.partid,
allpartmaster.partdesc,
allpartmaster.prodgroup,
goodsreceiptitems.createddate,
stockbatches.warehouseid,
stockbatches.locationid,
stockbatches.quantity,
stockbatches.status,
stockbatches.batchnumber,
stockbatches.batchid,
stockbatches.origin,
stockbatches.unitvalue,
goodsreceiptitems.orderid,
COUNT(*)
from stockbatches
inner join allpartmaster on stockbatches.partid = allpartmaster.partnum
inner join goodsreceiptbatches on stockbatches.batchnumber = goodsreceiptbatches.stockbatchid
inner join...
July 14, 2014 at 12:40 pm
You probably have a wide index scan, and indexe(s) don't contribute to the query. Can you post the execution plan and someone give you a good advise.
If you can use...
July 14, 2014 at 12:34 pm
Douglas Osborne-229812 (7/10/2014)
The output ( I green so I notice it - lol ) said I would speed...
July 10, 2014 at 10:09 am
Shaun Finnegan (7/6/2014)
Igor Micev (7/6/2014)
Once I had similar issue, and found this article useful
Hi Igor, so the steps in the article resolved your issue? or did you have to change...
July 7, 2014 at 12:32 am
The following article should en-clear about
http://msdn.microsoft.com/en-us/library/dd425070(v=sql.100).aspx
July 6, 2014 at 7:31 am
Once I had similar issue, and found this article useful
July 6, 2014 at 7:20 am
It can be even used for random of N numbers of a table
like for e.g in this case:
SELECT TOP 2 *
FROM #Students
ORDER BY NEWID()
July 6, 2014 at 7:12 am
Erland Sommarskog (7/3/2014)
I seem to recall that I saw somewhere that MSOLAP does not support distributed transactions.
This should help
EXEC sp_serveroption LINKED_OLAP, 'remote...
July 3, 2014 at 6:36 am
Raghavendra Mudugal (7/3/2014)
Koen Verbeeck (7/3/2014)
Way too easy as you only have to check the first query to get to the right answer.Thanks for the effort though.
+1
(did the same) Thank you...
July 3, 2014 at 4:11 am
ado-712642 (6/26/2014)
June 27, 2014 at 8:15 am
TheSQLGuru (6/26/2014)
1) No where did I see mention of things like "duplicate", "overlapping", etc. The missing...
June 26, 2014 at 1:16 pm
An error has occured while opening a file, Error 00000005: Access is denied. , file "E:\GDr\Con\Da\X\xxxxxx.dat"".
What are you linking using SQL server login?
June 21, 2014 at 5:19 pm
Viewing 15 posts - 511 through 525 (of 1,170 total)