DB2 Simple statement Recording

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

Db2start

DB2 Connect Reset Disconnect DB2 drop DB XXX Delete database DB2 List Tables view Table DB2 CREATE DATABASE XXX DB2 "SELECT * FROM table" To view a table details db2stop Force Stop Database
  Enter the DB2 database 1.su Db2inst1 2. Start the database: Db2start 3. Establishing a database connection: many of the operations of the DB2 connect to working database are built on this basis. Rebuild the database: 1. After entering the database (execute Db2start),DB2 Connect reset disconnects the database. 2.db2 drop db XXX Delete database 3.db2 CREATE database xxx Note: If the first step fails, or the disconnection succeeds, but failed to drop the database. Resolute execution Db2stop force stops disconnecting the database. then db2start DB2 drop db XXX to delete the database.

DB2 Simple statement Recording

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.