SAP Knowledge Base Article - Preview

2193270 - Can not drop dbspace after dbfile is deleted -- SAP IQ

Symptom

A user dbspace in SAP IQ consisted of one dbfile, that contained data tables.

The dbfile was accidentally deleted from disk.  After this, attempting to drop the dbfile or the dbspace resulted in errors like the following:

>> DROP TABLE REPRO_TEST;

Could not execute statement.
There are no dbspaces open in readwrite mode for this RW operation,
--
(stcxtlib/st_database.cxx 8514)
SQLCODE=-1009058, ODBC 3 State="HY000"
Line 1, column 1

or

>> DROP DBSPACE REPRO_MAIN;

Could not execute statement.
The dbspace 'repro_main' cannot be dropped because it contains tables or
indexes
SQLCODE=-1120, ODBC 3 State="HY000"
Line 1, column 1

drop dbspace repro_main


Read more...

Environment

  • SAP IQ 16.0
  • SAP IQ 15.4
  • SAP Sybase IQ 15.3

 

Product

SAP IQ 16.0 ; SAP Sybase IQ 15.2 ; SAP Sybase IQ 15.4

Keywords

KBA , BC-SYB-IQ , Sybase IQ , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.