Oracle MERGE and prepared statement
问题 I have a backup utility, workig on restore section. This is my table: CREATE TABLE "SBOOKS"."DEV_CORPUS" ( "CORPUSID" NUMBER(9,0) NOT NULL ENABLE, "CORPUS_NAME" VARCHAR2(768 BYTE) NOT NULL ENABLE, "CORPUSLASTSYNC" DATE, PRIMARY KEY ("CORPUSID") In restore class I would like to look for a primary key in table, if it exists then update the row, if not then insert a row. now the problem is I need to pass the parameters from the class (they do not exist in any table), how can I do this? what is