Re: This SELECT hangs one of its three tables
Posted in 1993
UPDATE:
Here is a smaller query that does the same thing. I have removed the
'periodt' table, but now SELECT's on the 'batch' table hang.
select tmatter,
tworkhrs,
tworkdol,
tworkdt,
twoper,
tbillhrs,
tbilldol,
tbilldt,
tbiper,
from timecard, batch
where tbatch = bbatch and
tstatus <> "ADE"
order by tmatter
It has something to do with the number of rows, I think. This code is
from a 4gl program, but all testing was done in isql (or dbaccess).
--
Bruce Momjian | 830 Blythe Avenue
root%candle.uucp@bts.com | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (215) 353-9879(w)
+ Christ can be your backup. | (215) 853-3000(h)