Re: Simple query question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Simple query question
Дата
Msg-id 6631.1040666518@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Simple query question  ("Reshat Sabiq" <sabiq@purdue.edu>)
Ответы Re: Simple query question  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-novice
"Reshat Sabiq" <sabiq@purdue.edu> writes:
> I believe Oracle requires singles for values too. That must be a
> standard.

It is.  SQL92 contains

         <double quote> ::= "

         <quote> ::= '

         <delimited identifier> ::=
              <double quote> <delimited identifier body> <double quote>

         <character string literal> ::=
              [ <introducer><character set specification> ]
              <quote> [ <character representation>... ] <quote>
                [ { <separator>... <quote> [ <character representation>... ] <quote> }... ]

I can't believe that MySQL gets such a basic element of SQL syntax wrong
--- perhaps the OP is mistaken?  If MySQL really does treat doublequote
as introducing a literal, how do they handle weird identifiers, like
names with embedded spaces?

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Devinder K Rajput"
Дата:
Сообщение: performance question
Следующее
От: "Michael Paesold"
Дата:
Сообщение: Re: Simple query question