Viewing 15 posts - 1,396 through 1,410 (of 2,062 total)
an extra vote for Andrew's solution since it allows index usage
September 8, 2006 at 4:37 am
is connection pooling on/off?
We had troubles with connection pooling off resulting in error messages like server does not exists... because the machine couldn't generate connections fast enough (or something alike)
September 7, 2006 at 5:28 am
functions on columns that participate in the join can make the optimizer decide not to use an index (not sargeable)
like convert(varchar(10),mydate1,102)=convert(varchar(10),mydate1,102)
September 7, 2006 at 5:25 am
adding Trusted_Connection=true means it needs to be windows authenticated.
Second, connecting as sa is a very serious security risc. I hope sa has a password.
September 7, 2006 at 5:21 am
found a kb article that might apply: (for standard edition)
http://support.microsoft.com/kb/316749/
Otherwise, are you profiling any performance counters?
September 5, 2006 at 7:40 am
found a kb article that might apply: (for standard edition)
http://support.microsoft.com/kb/316749/
Otherwise, are you profiling any performance counters?
September 5, 2006 at 7:40 am
select ...
from table1
where not exists (select PERMIT_ID from table1 table_bad where table1.PERMIT_ID=table_bad.PERMIT_ID and table_bad.PERMIT_EVENT_DT is null)
If could be rewritten to replace not exists, by some form of counting those whose...
September 4, 2006 at 2:49 am
Thanks for posting the solution.
Is it possible to post a link describing the issue with the cpu?
August 30, 2006 at 8:16 am
In such situations it is always helpfull to compare the execution plans of the queries, you can do this via the query analyzer: (Query) show estimated execution plan.
Possible reasons: the...
August 29, 2006 at 2:31 am
Looks your tempdb is running full or it can't grow fast enough.
Can you split your command in batches of 100 000? With a counter or something to remember the highest...
August 28, 2006 at 12:42 pm
Raid 5 isn't particulary recommended if there is a lot of writing activity. Looks splitting it up would be ideal. Can't say more since the largest raid I have are...
August 28, 2006 at 12:36 pm
not sure if it will work, but you will need an error check too at
OPEN C_TESTE
FETCH NEXT FROM C_TESTE INTO @CONT
->error check
August 23, 2006 at 1:10 pm
Can you give some textual output data?
Some things that might improve:
Union -> Union All
Rewrite CONVERT(varchar(10),ud.[date],110)=CONVERT(varchar(10),i.[itdate],110) to use BETWEEN instead of performing a function on a column
August 22, 2006 at 12:49 pm
Does it work when you write a parameterquery (as a query object) and use that query for the recordsource?
Is vwIndivPTMFcastbyProject a linked table or do you
use T-SQL?
August 17, 2006 at 9:55 am
Can you output debug.print strSQL or msgbox strSQL to verify strSQL?
August 17, 2006 at 5:11 am
Viewing 15 posts - 1,396 through 1,410 (of 2,062 total)