Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7571699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:44:08+00:00 2026-05-30T15:44:08+00:00

We are trying to load a file created by fast export into an oracle

  • 0

We are trying to load a file created by fast export into an oracle database.
However the Float column is being exported like this: 1.47654345670000000000 E010.

How do you configure fastexport to export like this: 14765434567.

We are loading the exported file into our oracle database via SQL*Loader

Update:
Originally it was using: cast(XXXX as varchar(500)) in the query provided to FastExport.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T15:44:10+00:00Added an answer on May 30, 2026 at 3:44 pm

    The solution is to use cast(cast(FLOAT_VAL as FORMAT 'Z(16)') as varchar(16))

    To make it all numeric and left padded with spaces: cast(FLOAT_VAL as FORMAT 'Z(16)')

    To remove the padding:cast(<VALUE> as varchar(16))

    An alternative solution: trim(cast(FLOAT_VAL as FORMAT 'Z(16)'))

    .logtable sysdba.TABLE_NAME;
    .run file XXX/XXXXX/XXXXXX/XXXXX.btq;
    .begin export;
    .export outfile /XXX/XXX/XXX/XXX/YYYYYYY.YYYYYYYYYY_19000100-19000100 MODE RECORD FORMAT TEXT;
    SELECT cast( cast(cast(FLOAT_VAL as FORMAT 'Z(16)') as varchar(16))
              || case when XXXXXXXXXXXXXXXXXXXX      is null then '|' else cast(XXXXXXXXXXXXXXXXXXXX      as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXXXXXXXX     is null then '|' else cast(XXXXXXXXXXXXXXXXXXXXX     as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXXXXXXXXXXXX is null then '|' else cast(XXXXXXXXXXXXXXXXXXXXXXXXX as varchar(500)) || '|' end
              || case when XXXXXX                    is null then '|' else cast(XXXXXX                    as varchar(500)) || '|' end
              || case when XXXXXXXXXX                is null then '|' else cast(XXXXXXXXXX                as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXX           is null then '|' else cast(XXXXXXXXXXXXXXX           as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXXXXXXXX     is null then '|' else cast(XXXXXXXXXXXXXXXXXXXXX     as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXXX          is null then '|' else cast(XXXXXXXXXXXXXXXX          as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXXXX         is null then '|' else cast(XXXXXXXXXXXXXXXXX         as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXX            is null then '|' else cast(XXXXXXXXXXXXXX            as varchar(500)) || '|' end
              || case when XXXXXXXXXXXXXXX           is null then '|' else cast(XXXXXXXXXXXXXXX           as varchar(500))        end
           as char(360))
      from YYYYYYY.YYYYYYYYYY;
    .end export;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are trying to load a file created by FastExport into an oracle database.
I was trying to load a data file into mysql table using LOAD DATA
I am trying to figure out an eazy way to load CSV file into
i am trying load file after it created from /stext command line but its
Similar to this question , I am trying to load an HTML file into
I have a .sql file and I want to load it into MySQL database.
I am trying to load an xml file that is stored as a resource
We are trying to load a pdf file in web browser using pdfobject javascript
I'm running jquery from a file. And I'm trying to load a svg file
I'm trying to load a custom log.properties file when my application is started. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.