Thanks for the help!
Steve
Here is the insert statement I'm trying to dynamically change based on the system ID
insertinto"SAP_DQM"."sap.dqm.data::BATCH_MATCH_RESULTS"select * from :output_data_gac where GROUPID != '';
Below I'm just trying to get the double quote issue before I bring in the single quote issue..
EXEC 'insert into """' || :var_insert_results_schema_name ||
'"""."""sap.dqm.data::BATCH_MATCH_RESULTS"""
select * from :output_data_gac';
Could not execute 'call
SAP_DQM."sap.dqm.procedures/SP_SQLW_BATCH_MATCH"( 'But000' , 'ADRC',
'X')' in 1.944 seconds .
SAP DBTech JDBC: [259]: invalid table name: [259]
SAP_DQM.sap.dqm.procedures/SP_SQLW_BATCH_MATCH: line 41 col 1 (at pos 2028):
invalid table name exception: invalid table name: Could not find table/view
"sap.dqm.data::BATCH_MATCH_RESULTS" in schema "SAP_DQM": line 1 col 27 (at pos 26)