dblink_ora_copy() v13
The dblink_ora_copy() function copies an Oracle table to an EDB table. The dblink_ora_copy() function returns a BIGINT value that represents the number of rows copied. The signature is:
dblink_ora_copy(<conn_name>, <command>, <schema_name>, <table_name>, <truncate>, <count>)
Where:
conn_namespecifies the name of the link.commandspecifies the text of the SQLSELECTstatement that will be invoked on the Oracle server.schema_namespecifies the name of the target schema.table_namespecifies the name of the target table.truncatespecifies if the server shouldTRUNCATEthe table prior to copying; specifyTRUEto indicate that the server shouldTRUNCATEthe table.truncateis optional; if omitted, the value isFALSE.countinstructs the server to report status information everynrecord, wherenis the number specified. During the execution of the function, Advanced Server raises a notice of severityINFOwith each iteration of the count. For example, if FeedbackCount is10, dblink_ora_copy()raises a notice every10records.countis optional; if omitted, the value is0.