要導出SQL Sequence,可以使用以下命令:
expdp system/password DIRECTORY=DATA_PUMP_DIR DUMPFILE=sequences.dmp LOGFILE=sequences.log SCHEMAS=schema_name
要導入SQL Sequence,可以使用以下命令:
impdp system/password DIRECTORY=DATA_PUMP_DIR DUMPFILE=sequences.dmp LOGFILE=sequences_import.log SCHEMAS=schema_name
請替換system/password
, DATA_PUMP_DIR
, sequences.dmp
, sequences.log
, schema_name
為實際情況下的數據庫信息。