powered by simpleCommunicator - 2.0.57     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Sybase ASA, ASE, IQ [игнор отключен] [закрыт для гостей] / Sybase ASE, трудности set option
4 сообщений из 4, страница 1 из 1
Sybase ASE, трудности set option
    #37216807
humpty1
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
почитал

авторAdaptive Server Enterprise 15.0 > Reference Manual: Commands > Interactive SQL Commands


Chapter 2: Interactive SQL Commands
--------------------------------------------------------------------------------

set option
Description
Changes the values of Interactive SQL options.

Syntax
Syntax 1

set [ temporary] option
[ user_id. | public. ]option_name = [ option_value ]
user_id : identifier , string or hostvar
option_name : identifier , string or hostvar

Syntax 2

set permanent

Syntax 3

set

Parameters
temporary
indicates that the options you set are only for this session.

option
indicates that you are setting the subsequent option.

user_id
is ID of the user setting the option.

public
indicates that the option is being set for all users.

option_name
is the name of the option you are setting.

option_value
is the value of the option you are setting.

identifier
is the identifier you are using for the connection information.

string
is the string you are using for the connection information.

hostvar
is the variable information for the host name and port

Usage
set permanent in Syntax 2 saves all current Interactive SQL options. These settings are automatically established every time Interactive SQL is started for the current user ID.

Syntax 3 displays all of the current option settings. If there are temporary options set for Interactive SQL or the database server, these are displayed; otherwise, the permanent option settings are displayed.

--------------------------------------------------------------------------------
Copyright © 2005. Sybase Inc. All rights reserved.



dbisql по команде set показывает список опций, где можно увидеть On_error,


на попытку задать
set option ON_ERROR='CONTINUE' равно как и set option BELL='on'

dbisql отвечает


'ON_ERROR' (BELL) is not a recognized SET TRACING option.

в гугле такой строчки нет,
сайбез онлайн бук тоже не нашел.
...
Рейтинг: 0 / 0
Sybase ASE, трудности set option
    #37216840
Фотография MasterZiv
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
> dbisql по команде set показывает список опций, где можно увидеть On_error,
>
>
> на попытку задать
> set option ON_ERROR='CONTINUE' равно как и set option BELL='on'
>
> dbisql отвечает
>
>
> 'ON_ERROR' (BELL) is not a recognized SET TRACING option.

Подозреваю, что dbisql либо универсальный клиент для всех СУБД (от Sybase),
либо клиент для ASA. В ASE такой опции нет.
Posted via ActualForum NNTP Server 1.4
...
Рейтинг: 0 / 0
Sybase ASE, трудности set option
    #37216956
White Owl
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
humpty1почитал

авторAdaptive Server Enterprise 15.0 > Reference Manual: Commands > Interactive SQL Commands
.....

dbisql отвечает
isql и dbisql это две очень разные программы.
...
Рейтинг: 0 / 0
Sybase ASE, трудности set option
    #37221206
humpty1
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
да, isql на set не отвечает ничего.
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / Sybase ASA, ASE, IQ [игнор отключен] [закрыт для гостей] / Sybase ASE, трудности set option
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]