标签: java db2 db2-luw
我尝试在db2上运行查询但是出现以下错误:
DB2 SQL Error: SQLCODE=-551, SQLSTATE=42501, SQLERRMC=GCD_ADMIN;SELECT;GCD_ADMIN.TAYEBEDS, DRIVER=4.7.85
这是我的代码:
results = stmt.executeQuery("select "+schema +"."+ edsTable + ".OBJECTTYPE from "+ schema +"."+ edsTable);