[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in SQL parsing?

From: Stefan Monnier
Subject: Re: Error in SQL parsing?
Date: 02 Nov 2001 13:37:42 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Alex" == Alex Schroeder <address@hidden> writes:
> What happens in Oracle is this: String delimiter is the apostrophe,
> there is no escape character, and doubling the apostrophe inserts one.

OK.  So, for that case \ should not be an escape

> I sometimes use a feature of SQL*Plus, however, which allows me to
> define an escape character (any character can be used!).  In order to


What's the "normal" case (i.e. the situation most common to people using
sql-mode) ?

How do you tell SQL*Plus to use \ (or some other char) as an escape ?

Should sql-mode just have a config var and do

   (defvar sql-escape-char nil)

      (if sql-escape-char
          (modify-syntax-entry sql-escape-char "\\" st))

-- Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]