DB2 Common Commands

Source: Internet
Author: User
Tags db2 db2 connect db2 connect to db2 describe table

Db2start starting the database

Db2stop Stop Database

DB2 Connect to dbname user username using pwd Connection Database

DB2 get dbm CFG view Database Manager configuration

DB2 update dbm CFG using SVCENAME 55000 change listening port

Db2ilist viewing a DB instance

DB2 list Tables list all user tables

DB2 describe table tablename display tables structure

DB2 List DB directory lists all databases

DB2 list node directory lists database nodes

DB2 list Active databases lists all active databases

DB2 terminate closing the database connection

Db2set Db2comm=tcpip to open DB2 TCP service

Db2set db2codepage=1386 Set Database code page for Simplified Chinese

DB2 catalog TCPIP node db2node remote hostname Server service_port add nodes Catalog

DB2 Catalog Database db_name as alias_name at node db2node . Increasing the cataloging of databases

DB2 Common Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.