六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 71|回复: 0

DB2 get_help

[复制链接]

升级  60.33%

117

主题

117

主题

117

主题

举人

Rank: 3Rank: 3

积分
381
 楼主| 发表于 2013-1-25 22:03:35 | 显示全部楼层 |阅读模式
db2 ?
db2 ? some_command
db2 ? options
db2 ? help
db2 ? error_code

for example:
> db2 crocodile
DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL1024N  A database connection does not exist.  SQLSTATE=08003
> db2 ? SQL1024N

SQL1024N A database connection does not exist.

Explanation:  There is no connection to a database.  Other SQL
statements cannot be processed unless an SQL CONNECT was
previously executed.

The command cannot be processed.

User Response:  If the error occurred when disconnecting from the
database, continue processing.  If the error occurred on another
SQL statement, issue an SQL CONNECT statement and resubmit the
command or statement.

sqlcode:  -1024

sqlstate:  08003

Another way to get help fast is to copy/paste the error string into google (internet search engine). Especially Google Groups is very helpful. You usually get the answer on the very first screen.
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表