提交 372b8689 编写于 作者: S Serge Rider

#6692 DB2 table truncate syntax fix


Former-commit-id: e0da6d46
上级 aca30b70
......@@ -219,6 +219,11 @@ public abstract class DB2TableBase extends JDBCTable<DB2DataSource, DB2Schema>
return super.getName();
}
@Override
protected String getTruncateTableQuery() {
return "TRUNCATE TABLE " + getFullyQualifiedName(DBPEvaluationContext.DML) + " IMMEDIATE";
}
@Override
@Property(viewable = true, editable = false, order = 2)
public DB2Schema getSchema()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册