June 2018
Intermediate to advanced
478 pages
10h 52m
English
The ATTACH command attaches a user or an application to an instance. The basic syntax for this command is as follows:
ATTACH TO [InstanceName] USER [UserID] USING [Password]
In the preceding command, the following applies:
If you want to attach to an instance db2inst1 using the user db2admin, the command will look as follows:
db2 "ATTACH TO db2inst1 USER db2admin USING MyPassw0rd"
Instance Attachment Information
Instance server = DB2/LINUXX8664 11.1.3.3
Authorization ID = DB2ADMIN ...Read now
Unlock full access