Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Import Data... Wizard creates SQL Loader ctl file with columns out of order

Derrick RobertsFeb 3 2016 — edited Feb 3 2016

Version 4.1.1.19 of SQL Developer. Connected to Oracle XE for testing this.

I am trying to figure out what's wrong with the data in my import file when I finally realize that the Import Data wizard did not care how I mapped the columns at all. The SQL Loader ctl file generated from the wizard expects the data columns in my file to match the order they appear in the table definition and not how they were mapped in the wizard. Manually editing the ctl file is a workaround. Has anyone else seen this?

This post has been answered by thatJeffSmith-Oracle on Feb 3 2016
Jump to Answer

Comments

Gaz in Oz

Please MOVE your post to the correct forum by clicking on "Move" under ACTIONS in the top right of the post.

You will get specific APEX help from there on how to properly export stuff.

Mary Bagir

Hi Gaz,

I know how export apex application from apex builder to include private reports. Apex Builder default export not included private reports, but it can be change by check box include before start export. I thought something like this in sqlcl apex export command exists too.

Thanks Mary

Gaz in Oz
Answer

Ah, ok so the sqlcl APEX options (in 18.1.0.0) are:

SQL> show version

Oracle SQLDeveloper Command-Line (SQLcl) version: 18.1.0.0

SQL> apex export

    -applicationid:    ID for application to be exported

    -workspaceid:      Workspace ID for which all applications to be exported or the workspace to be exported

    -instance:         Export all applications

    -expWorkspace:     Export workspace identified by -workspaceid or all workspaces if -workspaceid not specified

    -expMinimal:       Only export workspace definition, users, and groups

    -expFiles:         Export all workspace files identified by -workspaceid

    -skipExportDate:   Exclude export date from application export files

    -expPubReports:    Export all user saved public interactive reports

    -expSavedReports:  Export all user saved interactive reports

    -expIRNotif:       Export all interactive report notifications

    -expTranslations:  Export the translation mappings and all text from the translation repository

    -expFeedback:      Export team development feedback for all workspaces or identified by -workspaceid to development or deployment

    -expTeamdevdata:   Export team development data for all workspaces or identified by -workspaceid

    -deploymentSystem: Deployment system for exported feedback

    -expFeedbackSince: Export team development feedback since date in the format YYYYMMDD

    -expOriginalIds:   If specified, the application export will emit ids as they were when the application was imported

    -split:            Split the exported file

    -splitFlat:        Split with no directory strucure

    -splitUpdate:      Generate update.sql file while splitting

    -splitNoCheckSum:  Overwrite all files

Application Example:            apex export -applicationid 31500

Workspace Example:              apex export -workspaceid 9999

  Instance Example:               apex export -instance

Export All Workspaces Example:  apex export -expWorkspace

Export Feedback to development environment:

         apex export -workspaceid 9999 -expFeedback

Export Feedback to deployment environment EA2 since 20100308:

         apex export -workspaceid 9999 -expFeedback -deploymentSystem EA2 -expFeedbackSince 20100308

SQL>

...do an "apex export" via your version of sqlcl to see what options are available for that version.

Marked as Answer by Mary Bagir · Sep 27 2020
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 2 2016
Added on Feb 3 2016
1 comment
603 views