1, open the Command line window
#db2cmd
2, open the control center
# Db2cmd DB2CC
3. Open Command Editor
Db2cmd Db2ce
===== Operations Database Command =====
4, start the database instance
#db2start
5. Stop database instance
#db2stop
If you can't
DB2 Alter Table introduction and use of normal Table modification and creation, you need to consider the following two situations: 1. when data is stored in a table, you can only modify the Data Type of the column to a compatible data type, or keep
1. Open the command line window
# Db2cmd
2. Open the Control Center
# Db2cmd db2cc
3. Open the command editor.
Db2cmd db2ce
===== Operation database commands ====
4. Start a database instance# Db2start
5. Stop a database instance# Db2stop
If
Go from DB2 script House: http://www.jb51.net/article/20497.html1. Open the Command Line window#db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command =====4. Start the DB
Recently has been doing database optimization this business, found themselves a lot of DB2 commands are forgotten, and even useless, and sometimes become a bottleneck in the efficiency of the work, 工欲善其事, its prerequisite, so did the following
Http://www.jb51.net/list/list_155_1.htm
1. Open the command-line window #db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command ===== 4. Start the DB instance#db2start 5. Stop the DB
1. Open the Command Line window#db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command =====4. Start the DB instance#db2start5. Stop the DB instance#db2stopIf you cannot stop the database
1. Open the Command Line window#db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command =====4. Start the DB instance#db2start5. Stop the DB instance#db2stopIf you cannot stop the database
I am used to the alter statements of oracle and cannot use these statements in db2. Example Table: createtableemp (idint, namechar (20), salaryd
I am used to the alter statements of oracle and cannot use these statements in db2. Example table:
Target machine:192.168. 0.16 Local Machine: 192.168. 0.18 1 . Log in to the local database DB2 connect to DWMM user Dainst using Dainst# # Open Federated database parameter DB2 update dbm CFG using federated YES DB2 Force application all db2stop
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.