RE: like syntax

Another thing I'd like to see clarified:

Is it allowed to use "\" to escape characters other than "\", "%" and "_"?
What does ANSI SQL say about this?

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Wednesday, November 27, 2002 6:08 PM
> To: www-webdav-dasl@w3.org
> Subject: RE: like syntax
>
>
> Furthermore, it says:
>
> "The value for the literal is composed of wildcards separated by
> segments of text. Wildcards may begin or end the literal.
> Wildcards may not be adjacent."
>
> I don't understand this -- it seems to imply that "__" (to match
> any two-character sequence) is not allowed. Does anybody remember
> what one would want that?
>
> Julian
>
> --
> <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
>
> > -----Original Message-----
> > From: www-webdav-dasl-request@w3.org
> > [mailto:www-webdav-dasl-request@w3.org]On Behalf Of Wallmer, Martin
> > Sent: Wednesday, November 27, 2002 3:22 PM
> > To: 'Julian Reschke'; www-webdav-dasl@w3.org
> > Subject: RE: like syntax
> >
> >
> >
> > Hi,
> >
> > no objections
> >
> > Martin
> >
> > -----Original Message-----
> > From: Julian Reschke [mailto:julian.reschke@gmx.de]
> > Sent: Mittwoch, 27. November 2002 15:03
> > To: www-webdav-dasl@w3.org
> > Subject: DAV:like syntax
> >
> >
> >
> > In [1], DASL currently defines:
> >
> > Pattern := [wildcard] 0*( text [wildcard] )
> > wildcard := exactlyone | zeroormore
> > text := 1*( <character> | escapesequence )
> > exactlyone : = "?"
> > zeroormore := "%"
> > escapechar := "\"
> > escapesequence := "\" ( exactlyone | zeroormore | escapechar )
> > character: see section 2.2 of [XML]
> >
> > I can't help noticing that SQL actually uses "_" for
> > "exactlyone". Shouldn't
> > we fix that?
> >
> > Julian
> >
> >
> >
> > [1]
> > <http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-late
> > st.html#rf
> > c.section.5.13>
> >
> > --
> > <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
> >

Received on Saturday, 14 December 2002 10:49:56 UTC