Viewing 15 posts - 16,531 through 16,545 (of 18,926 total)
because " & slid & " in (null, slid) will fail
June 20, 2005 at 1:09 pm
or you can just rewrite the where condition like so :
WHERE slid IN (ISNULL(SQ.SLid,0),ISNULL(DEkeyValue,0))
June 20, 2005 at 1:04 pm
That was my point, your query is basically asking just that.
SQ.SLid=" & slid & " AND DEkeyValue =" & slid
is the same as
A = C and B = C, hence...
June 20, 2005 at 12:46 pm
Does this return anything??
SELECT SQ.*, DEdescription, DEenteredDate
, sendto.AOcontactNameLast AS SendTo
, billto.AOcontactNameLast AS BillTo
, req.AOcontactNameLast AS Requestor
, DE.*
FROM schoolrequest SQ
INNER JOIN academicoffice ST ON SQ.SLsendToId=sendto.AOid
...
June 20, 2005 at 12:31 pm
This is just how the view wizard optimizes the where conditions. As wrong as it seems, it's often better for performance to have the query written that way. ...
June 20, 2005 at 12:13 pm
Hmm, then I think that they either have to wait for the most current data or just accept the 5-10 minutes delay... I don't know any workaround in this situation.
June 20, 2005 at 12:11 pm
If you are using 50 views to make this, I would strongly suggest you try to use only the base tables as you might see a big improvement from that....
June 20, 2005 at 11:50 am
Now I need to be shot... forgot that you couldn't access the server
.
I think the faster solution might be to reinstall after all....
June 20, 2005 at 11:37 am
Maybe it's just me, but I don't see a single subquery in there. Also I would definitly run the index tuning wizard just to make sure you're not missing...
June 20, 2005 at 11:35 am
The idea of that design is to able to go to the last person who touched the record... not to be able to see the whole thing version by version....
June 20, 2005 at 11:24 am
Is it possible that you didn't reboot since the 120 days limit of a trial version?? IIRC, the evaluation check is done at startup, so unless you reboot, you...
June 20, 2005 at 11:22 am
That's not even a best pratice, that's just basic database design.
It's like if you have a db with cars and their owners over time.
You'd have a table car, a table...
June 20, 2005 at 11:12 am
Still can't answer that one. The other option you have is to split the select completely like this :
Create a stored proc on Oracle with the PrevYear, nextyear......
June 20, 2005 at 11:09 am
Viewing 15 posts - 16,531 through 16,545 (of 18,926 total)