Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
cr8nk
Yak Posting Veteran
77 Posts |
Posted - 2001-10-19 : 18:24:22
|
Hello there,I have another query performance question. I have an extremely slow performing query that uses a subquery. Here are the parties involved.TABLE 1.about 300K + rowsCurrentDelinquency(ACCT_NUM varchar(12))Table 2.250K + RowsAccountsUncallable(ACCT_NUM varchar(12))SELECT COUNT(DISTINCT ACCT_NUM)FROM CurrentDelinquencyWHERE ACCT_NUM NOT IN (SELECT DISTINCT ACCT_NUM FROM AccountsUncallable)It takes forever to run.thanks for any replies!Creighton |
|
|
|
|