Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
43
Добавлен:
18.03.2015
Размер:
684.09 Кб
Скачать

Administrative Features

There is no API function call directed at this feature. It will be up to the SysAdmin (SYSDBA or Owner) to make use of the data available in the monitoring tables and devise an appropriate mechanism for reining in the rogue statements.

Example

As a very rough example, the following statement will kill all statements currently running in the database, other than any that belong to the separate connection that the SysAdmin is using himself:

delete from mon$statements

where mon$attachment_id <> current_connection

More Context Information

More context information about the server and database ('SYSTEM') is available via SELECT calls to the RDB $GET_CONTEXT function, including the engine version.

Example

SELECT RDB$GET_CONTEXT('SYSTEM', 'ENGINE_VERSION')

FROM RDB$DATABASE

For detailed information about using these context calls, refer to the v.2.0.1 release notes.

108

Соседние файлы в папке doc