db2 报-1024错误,是什么问题啊?
发布网友
发布时间:2022-04-22 08:13
我来回答
共2个回答
热心网友
时间:2024-02-18 06:05
db2 ? SQL1024
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
说得很清楚了,没有数据库连接,在查询或者进行数据库操作前,必须先连接到需要操作的数据库
db2 connect to sample
热心网友
时间:2024-02-18 06:05
1024