5.3.1 Changing comments set for chunks
This example changes a comment set for a chunk to a new comment (previous month) under the following conditions:
-
CHUNK was specified when table TABLE01 was defined (table TABLE01 is a multi-chunk table).
-
Table TABLE01 has a chunk whose chunk ID is 10.
-
A comment (current month) has been set for the chunk whose chunk ID is 10.
■ adbchgchunkcomment command that is executed
adbchgchunkcomment -u ADBUSER01 ...1 -p '#HelloHADB_01' ...2 -m 'previous month' ...3 -c 10 ...4 TABLE01 ...5
- Explanation:
-
-
Specifies the authorization identifier of the HADB user who executes the adbchgchunkcomment command.
-
Specifies the password for the authorization identifier that is specified in the -u option.
-
Specifies a new comment (previous month).
-
Specifies the chunk ID (10) of the chunk whose comment is to be changed.
-
Specifies the table to be processed (TABLE01).
-