Skip to content

Commit 97b4c26

Browse files
HCK-14316: RE from instance (#76)
<!--do not remove this marker, its needed to replace info when ticket title is updated --> <!--jira-description-action-hidden-marker-start--> <table> <td> <a href="https://hackolade.atlassian.net/browse/HCK-14316" title="HCK-14316" target="_blank"><img alt="Bug" src="https://hackolade.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium" />HCK-14316</a> [DB2][RE] Columns aren't REed from DB2 instance </td></table> <br /> <!--jira-description-action-hidden-marker-end--> ## Content * removed redundant escape, not needed anymore after moving from cli args to stdin approach
1 parent a00882c commit 97b4c26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/helpers/queryHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const getTableNamesQuery = ({ tableType, includeSystemCollection }) => {
7777
const getGenerateTableDdlQuery = ({ schemaName, tableName, tableType }) => {
7878
const tableArgument = tableType === TABLE_TYPE.table ? '-t' : '-v';
7979

80-
return `CALL SYSPROC.DB2LK_GENERATE_DDL('-a -e -z ""${schemaName}"" ${tableArgument} ""${tableName}""', ?);`;
80+
return `CALL SYSPROC.DB2LK_GENERATE_DDL('-a -e -z "${schemaName}" ${tableArgument} "${tableName}"', ?);`;
8181
};
8282

8383
/**

0 commit comments

Comments
 (0)