differnce from ansi sql standard - unicode strings?

Поиск
Список
Период
Сортировка
Искать

differnce from ansi sql standard - unicode strings?

От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
Hello

I found BNF for SQL 2003 and I found there some small difference.
Standard use keyword ESCAPE, but PostgreSQL use keybord UESCAPE.

Anybody knows reason?
     ::=        [   ]        U   [  ... ]         [ {   [  ... ]  }... ]        [ ESCAPE  ]

thank you
Pavel Stehule

Re: differnce from ansi sql standard - unicode strings?

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Pavel Stehule wrote:
> I found BNF for SQL 2003 and I found there some small difference.
> Standard use keyword ESCAPE, but PostgreSQL use keybord UESCAPE.
> 
> Anybody knows reason?
> 
>       ::=
>          [   ]
>          U   [  ... ] 
>          [ {   [  ... ]  }... ]
>          [ ESCAPE  ]

My copy has

 ::=
[  ]
U [ ... ] 
[ {   [ ... ]  }... ]


 ::= [ UESCAPE  ]

Re: differnce from ansi sql standard - unicode strings?

От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
Hi,

It's possible - I used unofficial BNF graph from internet.

so problem is on my side.

thank you
Pavel


2009/2/17 Peter Eisentraut :
> Pavel Stehule wrote:
>>
>> I found BNF for SQL 2003 and I found there some small difference.
>> Standard use keyword ESCAPE, but PostgreSQL use keybord UESCAPE.
>>
>> Anybody knows reason?
>>
>>      ::=
>>         [   ]
>>         U   [  ... ] 
>>         [ {   [  ... ] 
>> }... ]
>>         [ ESCAPE  ]
>
> My copy has
>
>  ::=
> [  ]
> U [ ... ] 
> [ {   [ ... ]  }... ]
> 
>
>  ::= [ UESCAPE  character> ]
>

FAQ