Viewing 6 posts - 1 through 6 (of 6 total)
without digging too deep (sometimes the simplest solutions are the best) - try to isolate the "OR" conditions from the rest of the WHERE clause...
SELECT PRD_HEADER.prdkey, PRD_summary.prdkey,
PRD_unit.stockID1,PRD_unit.stockID2,PRD_unit.stockID3,
PRD_unit.stockID4,PRD_unit.stockID5,PRD_unit.stockID6
FROM PRD_HEADER INNER...
March 11, 2012 at 8:46 pm
I've seen it happen where indexes / exec plans got "stale" after backup/restore; SQL totally ignoring existance of indexes, even though they're there and "should" be used.
I'd start with updating...
March 11, 2012 at 8:41 pm
Mayank P - Clarion, India (10/26/2010)
... you restore the back up of database db1 to database db2, and after that if you want to enable broker service on database...
October 29, 2010 at 6:17 am
I think I found it somewhere on the net... sorry to original author for not including the credits...
but I found it's quite easy to use Table-valued function to handle the...
April 21, 2009 at 7:33 am
sharon (4/30/2008)
all your transcation logbackup iwll be tkane on the priamry server which will then be copied to our stnadby server and applied there....
how...
July 9, 2008 at 2:36 pm
if you're using OPENQUERY you are executing the SQL "inside" of the AS/400. AS400.S1019865.NSCDEVDATA.WSZZP100 doesn't exist in the AS/400 world. Try this :
Select * from OPENQUERY(AS400, 'UPDATE NSCDEVDATA/WSZZP100 SET...
April 5, 2007 at 6:58 am
Viewing 6 posts - 1 through 6 (of 6 total)