in reply to Re^4: SQL error
in thread SQL error

q{} treats the entire set of characters between the braces as single quoted. It's handy to use it for SQL because it removes the issue of getting confused and not closing all your quote marks in your SQL commands.

So:

q{This is a string} 'This is a string'
are essentially the same thing.

qq{}, incidentally, works the same way, only with double quotes

Trek