|
SQLSTATE: 42000, Native error: 102 Message: Incorrect syntax near '['
|
|||
---|---|---|---|
#18+
Вылетает ошибка при запросе, содержащем квадратные скобки, например: Код: plaintext
Версия сервера: 12.5.0.3 В чём может быть дело? ... |
|||
:
Нравится:
Не нравится:
|
|||
20.08.2010, 00:06 |
|
SQLSTATE: 42000, Native error: 102 Message: Incorrect syntax near '['
|
|||
---|---|---|---|
#18+
Дело в квадратных скобках. Это тебе не MSSQL, и не Access. Если в имени таблицы есть пробел, используй кавычки. ... |
|||
:
Нравится:
Не нравится:
|
|||
20.08.2010, 07:33 |
|
SQLSTATE: 42000, Native error: 102 Message: Incorrect syntax near '['
|
|||
---|---|---|---|
#18+
White Owl, ты документацию читал? ... |
|||
:
Нравится:
Не нравится:
|
|||
20.08.2010, 07:42 |
|
SQLSTATE: 42000, Native error: 102 Message: Incorrect syntax near '['
|
|||
---|---|---|---|
#18+
White Owl wrote: > Дело в квадратных скобках. Это тебе не MSSQL, и не Access. > Если в имени таблицы есть пробел, используй кавычки. ДВОЙНЫЕ кавычки. Он документацию читал. Posted via ActualForum NNTP Server 1.4 ... |
|||
:
Нравится:
Не нравится:
|
|||
20.08.2010, 11:07 |
|
SQLSTATE: 42000, Native error: 102 Message: Incorrect syntax near '['
|
|||
---|---|---|---|
#18+
авторBracketed delimited identifiers Sybase also supports bracketed identifiers, whose behavior is identical to that of quoted identifiers, with the exception that one need not set quoted_identifier on in order to use them. create table [bracketed identifier](c1 int) This bracket enhancement increases platform compatibility. http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc32300.1550/html/sqlug/X86464.htm Вроде появилось это в 12.5.1 ... |
|||
:
Нравится:
Не нравится:
|
|||
20.08.2010, 19:28 |
|
|
start [/forum/topic.php?fid=55&msg=36803758&tid=2010559]: |
0ms |
get settings: |
9ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
57ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
1ms |
others: | 355ms |
total: | 508ms |
0 / 0 |