Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Insert data in Oracle, db-schema contains "-"

Hi,
I'm trying to do a fairly simple ETL job, but the problem is that the table I want to write to is stored in an Oracle schema which contains a "-": "DB-SCHEMA" (example). 

Now the tOracleOutput generates this: 
INSERT INTO DB-SCHEMA.TEST (TESTCOLUMN) VALUES ('record1')
which causes an error (ORA-00926. 00000 -  "missing VALUES keyword") 
Because the correct statement would be this: 
INSERT INTO "DB-SCHEMA".TEST (TESTCOLUMN) VALUES ('record1')
does anybody know how I can either make sure there are quotes around the schema name, or the statement is generated without the schema prefix? 

thanks in advance! 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Good day
How execute your sentence?
try build a expression using escape characters.  For example :

"INSERT INTO \"" + row1.schema + "\".TEST (TESTCOLUMN) VALUES ('" + row1.value + "')" 

Best regards,

Alfonso Borre
skype: alfonso.borre
aborresarmiento@yahoo.es