Get Service Statement; Syntax Description Of Get Service; Considerations For Get Service; Examples Of Get Service - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

GET SERVICE Statement

"Syntax Description of GET SERVICE"

"Considerations for GET SERVICE"

"Examples of GET SERVICE"

The GET SERVICE statement returns the WMS service that is in effect for queries in the current
session and provides some information about the service and the client session. Neoview Workload
Management Services (WMS) manages queries associated with a service according to the priority,
threshold limits, and rules of the service. For information about WMS, see the Neoview Workload
Management Services Guide.
Syntax Description of GET SERVICE
GET SERVICE
Considerations for GET SERVICE
Because GET SERVICE is an SQL statement, it requires an SQL terminator.
You can run the GET SERVICE statement in NCI in SQL mode, and you can use the GET
SERVICE statement in JDBC and ODBC client applications.
The GET SERVICE statement returns this information about the service and the client session:
Table 2-7 GET SERVICE Output
Column Name
CUR_SERVICE
PLAN
TEXT
CUR_SCHEMA
RULE_NAME
APPL_NAME
SESSION_NAME
DSN_NAME
ROLE_NAME
1
This column might contain multibyte characters. For guidelines on using multibyte character sets, see the
Neoview Character Sets Administrator's Guide.
Examples of GET SERVICE
This statement shows that the default service, HP_DEFAULT_SERVICE, is in effect for the current
NCI session:
SQL>get service;
CUR_SERVICE
------------------ ---- ---- ---------- --------- --------- ------------ ---------------------- ---------
HP_DEFAULT_SERVICE
--- SQL operation complete.
134
SQL Statements
Data Type
VARCHAR(50)
INT
INT
VARCHAR(260)
VARCHAR(50)
VARCHAR(50)
VARCHAR(50)
VARCHAR(50)
VARCHAR(50)
PLAN TEXT CUR_SCHEMA RULE_NAME APPL_NAME SESSION_NAME DSN_NAME
0
0 NEO.USR
Description
1
Name of the service that is in effect for the session
1 indicates that the query execution plans are collected for
display.
0 indicates that no query execution plans are collected for
display.
1 indicates that the SQL syntax of executing queries is collected
for display.
0 indicates that no SQL syntax is collected for display.
1
Name of the schema that is currently in effect
1
Name of the connection rule that is in effect for the service
1
Name of the application that is running in the session
Name of the session if it exists
1
Name of the data source for the session
Name of the client role that is logged in to the session
NCI
ROLE_NAME
TDM_Default_DataSource ROLE.MGR

Advertisement

Table of Contents
loading

Table of Contents