Understanding DB2 学习笔记 一

                                                      Overview of DB2 

 

DB2 命令分为两种:

  • System commands

  • DB2 System Commands for many purposes, including starting services or processes, invoking utilities, and configuring parameters.

    DB2  System Commands 还不需要 instance。

    DB2 system command  以 DB2x 这种方式命名.如:

    db2start
    db2set
    db2icrt

    用 -h 查看命令的帮助

  • Command Line Processor (CLP) commands

  • DB2 CLP commands  是通过CLP 工具进行处理的。

    DB2 CLP commands  需要启动instance

    通过从操作系统的命令行(如DOS或shell)键入db2,启动Command Line Processor  交互式的对话模式。可以输入如下命令等:

    list applications
    create database
    catalog tcpip node

    如果你不想在CLP的交互模式下工作,你可以在CLP 命令前加入前缀 db2,例如:

    db2 list applications
    db2 create database
    db2 catalog tcpip node

    注意:在Windows 平台db2 必须在 DB2 Command Window 中键入,而不是在DOS 命令行中键入。

     

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值