Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

COPY Rejected Data and Exception Files

it often happened some rows with format issue, data type issue rejected by copy command while try load it by copy command. the query return succeed but some of data rejected.
To do troubleshooting
  1. save Rejected Data and Exceptions
COPY large_tbl FROM :file1 ON site01,
               :file2 ON site01,
               :file3 ON site02,
               :file4 ON site02
               DELIMITER '|'
               REJECTED DATA :reject_s1 ON site01, :reject_s2 ON site02 
               EXCEPTIONS :except_s1 ON site01, :except_s2 ON site02;
  1. check errors in exceptions file, and fix it one by one

Comments

Popular posts from this blog

Pgbadger Feature In Postgresql

rman interview and scenario based questions and answer and also rman(backup and recovery) discussions panel

ERROR: operator does not exist: text ->> unknown LINE 1: ...stomer' as customer_name,sales_info ->>'PRODUCTS' ->>'produc... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

PostgreSQL Enterprise Manager - PEM Monitoring Tools

VMWARE WORKSTATION 3,4,5,6,7,8,9,10,11,12,14,15...etc LICENSE KEYS COLLECTION