in reply to SQL::Statement confusing literals and identifiers
SQL::Statement doesn't seem to recognize that "set" means set.
String constants use single quote (') delimiters. Column labels use double quotes ("), and set in your example is a string constant, not a column label.
So the (non-) problem is that it doesn't like parsing illegal SQL. Rewrite your statement as the following, and you should be fine.
SELECT id, gid, card, 'set', illus, num FROM Print
• another intruder with the mooring in the heart of the Perl
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: SQL::Statement confusing literals and identifiers
by Thilosophy (Curate) on Mar 11, 2008 at 10:30 UTC | |
by grinder (Bishop) on Mar 11, 2008 at 12:29 UTC | |
by ikegami (Patriarch) on Mar 11, 2008 at 19:29 UTC | |
by bcarroll (Pilgrim) on May 28, 2009 at 14:31 UTC | |
by grinder (Bishop) on Mar 11, 2008 at 11:59 UTC |