-
Junior Member
Convert dbf file to ASCII (text) file
I want to convert the DBF File (which is generated using FoxPro) into the ascii (like text file (properly delimited by commas) and vice versa in oracle. Is there any use of java in this method. Plz reply me because its urgent.
Thanks in advance,
Mohit Sharma
-
Expert Member
Re: Convert dbf file to ASCII (text) file
I do not know how to convert DBF to ASCII Directly. But in the following way we may convert DBF to excel , then excel to ASCII format. To convert DBF to excel use the following command.
Export to filename Type XLS.
Then open the file in excel. Select save as type you want.
-
Expert Member
Re: Convert dbf file to ASCII (text) file
To covert oracle data to ascii format use the following syntax
SPOOL XXX.TXT
SELECT FIELD1||','|| FIELD2||','||FIELD3 FROM TABLENAME;
SPOOL OFF;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules