We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32fab8a commit e0cbf82Copy full SHA for e0cbf82
src/views/schemaBrowser/index.ts
@@ -479,7 +479,7 @@ export default class schemaBrowser {
479
if(hasHeaders) {
480
// Get headers using the first row of data
481
const colNames = Object.keys(rows[0]);
482
- const cols = colNames.join(', ');
+ const cols = colNames.map(c => c.includes(` `) ? `"${c}"` : c).join(', ');
483
484
// Generate the INSERT statement
485
content = `INSERT INTO SYSIBM.SYSDUMMY1 (${cols}) \nVALUES\n`;
0 commit comments