in reply to DBI problem on fetchrow
This query doesn't look right to me: "SELECT MAX(M.Score) FROM Regions M". Specifically that stray "M" on the end doesn't seem like proper syntax. Since you're specifying "M.Score" as what you want, I'm guessing "M" is a table name. Maybe you want a comma between "Regions" and "M"? It really doesn't die when you try to prepare or execute that?
Update: Oh yes, I have seen table aliases before, thanks for the many reminders. Since I hardly use them myself, I'm not used to seeing them. Sorry about the confusion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI problem on fetchrow
by jZed (Prior) on Nov 15, 2007 at 17:36 UTC | |
by Jenda (Abbot) on Nov 15, 2007 at 17:55 UTC | |
by jZed (Prior) on Nov 15, 2007 at 18:15 UTC | |
|
Re^2: DBI problem on fetchrow
by erroneousBollock (Curate) on Nov 15, 2007 at 17:36 UTC | |
|
Re^2: DBI problem on fetchrow
by moritz (Cardinal) on Nov 15, 2007 at 17:42 UTC |