Database alias = SETTLE
Database name = SETTLE
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 2 entry:
Database alias = TMP
Database name = TMP
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 3 entry:
Database alias = ALLWEB
Database name = ALLWEB
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 4 entry:
Database alias = TRADE
Database name = TRADE
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 5 entry:
Database alias = SINGLEE
Database name = SINGLEE
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 6 entry:
Database alias = DBTMP
Database name = DBTMP
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 7 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Database 8 entry:
Database alias = KSDBS
Database name = KSDBS
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
$ db2 drop db sample
SQL1013N The database alias name or database name "SAMPLE " could not be
found. SQLSTATE=42705
$ db2sampl
SQL1005N The database alias "sample" already exists in either the local database directory or system database directory.
SQL1013N The database alias name or database name "SAMPLE" could not be found. SQLSTATE=42705作者: huyuhui001 时间: 2005-01-20 08:59 标题: 请教:关于删除DB2实例下的数据库的问题? 把sample先 CATEGORY上,应该是没有被删除,只是把category信息删除了作者: dont_move 时间: 2005-01-20 10:31 标题: 请教:关于删除DB2实例下的数据库的问题? 谢huyuhui001了,做以下尝试,不成功:
$ db2 catalog db sample
SQL1005N The database alias "sample" already exists in either the local database directory or system database directory.作者: huyuhui001 时间: 2005-01-20 13:12 标题: 请教:关于删除DB2实例下的数据库的问题? Database 7 entry:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = /home/db2inst1
Database release level = a.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0