On Jul 14, 2010, at 11:41 AM, Tim McCormack wrote:

> On Jul 14, 11:56 am, Michael Wood <esiot...@gmail.com> wrote:
>> AFAIK backticks are MySQL-specific.  PostgreSQL uses double quotes.  I
>> imagine there is a proper JDBC way of handing this, though.
> 
> OK, so there is enough variation between RDBMSs that a simple solution
> won't work. Seems like clojure.contrib.sql's job should be to even out
> those differences by quoting and escaping as appropriate to the chosen
> database. :-/

Actually, you can also use double quotes with MySQL if you turn on ANSI_QUOTES:

http://dev.mysql.com/doc/refman/5.5/en/server-sql-mode.html#sqlmode_ansi_quotes

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to