I'm running CFMX + MySQL 3.23
I've got 2 queries happening - one queries the db, the other
"query" gets a directory listing from a particular folder of
images. I'd like to do the equivalent of an INNER JOIN between the
two, where I'm only interested in the results where there are
images located on the server. I've already tried different ways of
joining the two, but that's not working - JOINing on a query of
query isn't liked by CF.
I tried dumping the results of the directory listing into a
temporary table and then adding that as an INNER JOIN WHERE
image_id IS NOT NULL, but the server kept timing out (I don't have
control over the server settings, and it WAS taking a long time to
run).
My work around so far is to write a script that will update
the db every time that directory is updated, but it's really the
best solution. Any suggestions or leads in the right direction
would be greatly appreciated.
Thanks in advance.
Rob