Viewing 15 posts - 256 through 270 (of 530 total)
You could 'build' the hierarchy dynamically in your order by :
SELECT TOP 1 answer FROM lookup
WHERE (id1='100' or id1='other')
AND (id2='100' or id2='other')
AND...
June 30, 2003 at 3:39 pm
OK. Don't know if this is an answer to my post or not? Did you try that and did it return the right data? If not, try posting some (relevant)...
June 30, 2003 at 2:52 pm
Yep, your right, stupid me ...
You should of course add a 'join' on the UPC_EAN code to the WHERE of the EXISTS.
... AND...
June 30, 2003 at 2:38 pm
Strange...
Maybe same problem with the WHERE clause:
Add the IM2.Vendor to the subquery in your EXISTS clause.
June 30, 2003 at 2:30 pm
Long, long time ago, someone posted comparable problems in a thread about using IN vs EXISTS.
If I recall correctly, you should fully qualify the UPC_EAN in the EXISTS clause. Otherwise...
June 30, 2003 at 2:22 pm
The difference originates from the use of the GROUP BY clause.
In your first query, SQL Server will build the complete result set, gathering all data for each and every f.fund...
June 30, 2003 at 9:22 am
I would try using a DTS task for this. The ASP page can then trigger the DTS task, for which you don't have to wait until completion.
Another way is to...
June 27, 2003 at 2:51 am
Are you sure it's not a problem with the Update statement. If you look up the topic 'INSTEAD OF UPDATE trigger' in BOL, you can read that
June 26, 2003 at 4:24 am
You have a number of possibilities, based on the $$$ you want to spend.
First off, you could buy a decent reporting package like Cognos or Business Objects. They both perform...
June 26, 2003 at 2:31 am
You should include some sort of join to the inserted or deleted table instead of referring to the ClientBased table.
CREATE TRIGGER UPDATESEV_ClientBased
ON ClientBased
FOR Update AS
IF UPDATE(SEV)
BEGIN
...
June 25, 2003 at 9:35 am
If you do run into performance problems due to a lack of memory, consider breaking up the whole insert into smaller chunks.
Should be fairly easy, based on the description you...
June 25, 2003 at 5:28 am
Steve,
There have been some rumours that hyperthreading in Windows XP SP1 did have a negative impact on performance. The culprit apparently was the UnmapViewOfFile function.
See http://support.microsoft.com/default.aspx?scid=kb;en-us;815227
June 25, 2003 at 3:04 am
There's a bunch of MDX functions to do Lineair regression calculations. Check BOL for LinRegPoint, LinRegIntercept and so on.
June 24, 2003 at 8:56 am
Yogi,
I believe you are on the right track with the proposed table structure. Of course, it needs some additional fields, but I suppose you only mentioned the important ones.
If I...
June 24, 2003 at 7:29 am
Viewing 15 posts - 256 through 270 (of 530 total)