Unable to load CSV data using APEX Data Load using Firefox/Safari on a MAC
I have APEX installed on a Windows XP machine connected to an 11g database on the same Windows XP machine.
While on the windows XP, using IE 7, I am able to successfully load a CSV spreadsheet of data using the APEX Data Load utility.
However, if I switch to my MacBook Pro running OS X leopard, then login into same APEX machine using Firefox 2 or 3 or Safari 3, then try to upload CSV data, it fails on the "Table Properties" step when it asks you for the name of the new table and then asks you to set table properties, the table properties just never appear (they do appear in IE 7 on Windows XP) and if you try to hit the NEXT button, you get error message: "1 error has occurred. At least one column must be specified to include in new table." and of course, you can't specify the any of the columns because there is nothing under SET TABLE PROPERTIES in the interface.
I also tried to load data with Firefox 2, Firefox 3 (beta), and Safari 3.1, but get same failed result on all three. If I return to the Windows XP machine and use IE 7.0, Data Load works just fine. I work in an ALL MAC environment, it was difficult to get a windows machine into my workplace, and all my end users will be using MACs. There is no current version of IE for the MAC, so I have to use Firefox or Safari.
Is there some option in Firefox or Safari that I can turn on so this Data Load feature will work on the MAC?
Thanks for your help. Any assistance appreciated.
Tony
I managed to get this to work by saving the CSV file as Windows CSV (not DOS CSV), which allowed the CSV data to be read by Oracle running on Windows XP. I think the problem had to do with different character sets being used for CSV on MAC versus CSV on Windows. Maybe if I had created my windows XP Oracle database with Unicode as the default character set, I never would have experienced this problem.
Similar Messages
-
What is limit to load csv file for Apex Utility?
What is limit to load csv file for Apex Utility?
How many records can I load through apex load utility?
I am loading csv files.
Thank you.Hi,
You download the report that is displayed in APEX which is limited to 65k. There may be some way of creating a custom file based off the table rather than using APEX's built in export to csv option but I don't know of any being released. Denes produced an export to .xls option but I don't know how many rows that caters too: http://htmldb.oracle.com/pls/otn/f?p=31517:108:1512181285516724::NO:: -- I assume 65k too though.
Mike -
What is correct update or upgrade for Mac OSX v 10.5.8? Also can't use sites without updates on firefox & safari. Auto update shows none available?
Click here.
(89934) -
How to handle comma present in any filed while loading CSV file in APEX
I am trying to import excel sheet data into a table. I have followed steps mentioned in below link and they work just fine with one exception.
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Exception is related to presense of comma (,) in any particular filed like- Address.
How can I handle this situation? I am using APEX 3.2
Thanks,
AbhiYes this is correct.
but problem will occur when e.g check the foll. string.
(1001,And I quote "This, will work")
Here it is a comm(,) in b/w "This and will".
due to this sqlldr interpret it as end of field. and throws an error.
I had gone through expert one on one oracle, what it maintioned as,
put an extra double quotes( " ) like " " to enclosed the double quoted string.
This works fine. For small data it can be done manually.
But for large data what condition can be put in the ctl file to achieve this?
or is there any other way to achieve this?
Thank you. -
Export / Import of Apex Data
Hello,
We are planning to move our Oracle databases from Windows Servers to Linux ones. In a test lab, we have successfully exported all data from an Oracle DB instance on Windows and imported that data on an Oracle DB instance on Linux (with the old export/import Oracle tool)
But in fact...it was all data except Apex data. The complete Apex environment is available on our new Linux server but no trace of all our workspaces and applications. The only available workspace is Internal.
We do not want to export / import all workspaces, applications, images and files one by one (by hand on the Apex environment).
- Is there a particular method to follow to include the Apex data in the export / import process ?
OR
- Is there a trick or a utility program that can automate the export / import of Apex data ?
Thank you for your help.
- PatricePatrice,
There is an Apex utility (it's called ApexExport) that can be setup to run workspace, application and page exports. It's a Java based utility and sometimes can be a little maddening to get configured to run but it will do the job once you get it configured. The utility will be on the database machine in the Apex installation directory. There is pretty good documentation available from Oracle but John Scott blogged about it here http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/ as well.
Earl -
How to regularly load data from .csv file to database (using apex)
Hi,
i am using apex3 , I need to load data from a csv file to apex . I need to perform this automatically through code at regular time interval of 5-10 seconds.
Is it possible .If yes how ?. Please reply as early as possible. This will decide whether to use apex or not for this application.
this is question for Application Express. Dont know why in forum for BPEL
Edited by: TEJU on Oct 24, 2008 2:57 PMHello,
You really need to load the data every 5-10 seconds? Presumably it's read only?
I would look at using an Oracle external table instead, that way you just drop your CSV in a location the DB can read it and then you build a table that essentially references the underlying CSV (that way when you query the table you view the data in the CSV file).
Take a look at this link for a quick example on usage -
http://www.oracle-base.com/articles/9i/SQLNewFeatures9i.php#ExternalTables
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
How to see inserted rows using load csv data
Hey all...
I am using apex 3.1 and I want to know how can I see non failed rows when I insert data from an CSV file.
the failed rows that I can see are the the ones that shows in the next case: Uploading data that already exists and having a primary key violation. But what I really want to see is the description of the rows that had been succesfully loaded, not just a number of succesfully loaded rows.
Thanks in advance.
Luis.Try some thing like this
select Field, Filed2, ORA_ROWSCN, SCN_TO_TIMESTAMP(ORA_ROWSCN) from Table Name
You will get the recent date of insert/update of record -
Load .csv file data with OWb Process flow using Web
Hi,
I Have a file in my local machine( Machines on multiple user's), need to load data through Web user interface.
Let's say have a web page with multiple radio buttons respective to different sources, by clicking on each button will pass the path of .csv file to through Application, (API or Java programming interface) execute owb Process flow as a accepting file path as a input parameter to execute for loading purpose.
Should facilitate view data, Update data through web based on user requests.
Need your guidence how can i implement this with OWb 11g R2.
Assuming with Web browser functionality. Please confirm it and if yes, please throw some light how could be the steps to implement.
ThanksHi David,
Thanks for your reply.
Undersatnd your proposed solution.But my requirement should be as follows.
1. Currently under consideration using web page likely to be implement with Java, allowing users to load .csv file data into staging area.(Loading flat file into Data abse table)
Case 1, Assuming OWB software is not installed on user machine. I think no.
Is it possible through web page (this case Java page) to trigger java procedure/Pl/SQl procedure or integration of both to laod data into staging area.If yes, how it could effect performance of data load with 1 GB file.
Case 2, OWb client software installed on User machine, while runtime passing parameters means passing manually?
In case it is automated, how should i pass machine name & Path to owb runtime web browser.
Could you please show me guidence how should I acheive this functionality with APEX customization part?
Thanks agin for your support.
Anil -
Uploading csv file with number type data to database using apex
hi
am trying to upload csv file to oracle database using apex when i select the file using file browser and click on the button.
my table looks like
coloumn type
col1 number(2)
col2 number(2)
col3 number(2)
col4 number(2)
please tell me the steps i need to follow
urgent requirementThis thread should help - Load CSV file into a table when a button is clicked by the user
-
Load csv data error: ORA-01461: can bind a LONG value only for insert into
LONG column
I am trying to upload a data file (from MS Access) and get the above error message. There is a comment field that is type memo in Access. I have tried using VARCHAR2(4000) and CLOB as the data types but still get the same error. I searched the forum for a workaround or fix but can't seem to find any. Does anybody know of a working solution.
Thanks,I am trying to load the data through APEX 2.2 for an application that I am building. Using the Excel function for length (on that column), the maximum number of characters comes up 3548. I also tried the clean function but still get the same error when trying to upload the data.
-
Using htp.p for print dynamic data in apex region make my page slow?
Hi, everyone!!! My name is Rafael, and...
I search in the web and in this forum but i can´t find a answer for my doubt.
Using the procedure htp.p for print dynamic data in apex region through on demand process , this will leave my webpage slow to load when the user access?
Example:
For build a menu in my webpage, it´s read a function in the database that returns variable string, so by a demand process this string is obtain and print in a web page using htp.p.
I notice that this practice causes slow to load the data on the page.
This is it...
If someone help me, thanks...
bye and Happy new Year!!!
Edited by: user9518141 on 26/12/2009 17:19Hi,
Try commenting out the function call and print some sample text in the htp.p like htp.p('Hello world..');
I think the function call is probably taking a lot of time .. not htp.p.
I have used htp.p to print out values dynamically in a lot of situations and have not ever come across any performance issues.It could be a problem with the function you are calling.
Thanks,
Rajesh. -
How to use sqlldr for loading data in Oracle 10g xe.
I want to load data using SQL*LOADER in Oracle DB from a .csv file but it doesn't seems to be working can anyony please help me.I am not get getting how to use sqlldr.
in CMD in giving this command
sqlldr hr/hr control='c:/data/record.ctr'
record.ctr>>load data
infile 'c:\data\record.csv'
into table record
fields terminated by "," optionally enclosed by '"'
( Name,uday, hemant )
sql table in data base>>CREATE TABLE "RECORD"
( "NAME" VARCHAR2(50),
"UDAY" VARCHAR2(50),
"HEMANT" VARCHAR2(50)
record.csv>>name,uday,hemant
c1,45454,84894
c2,489654,21322
can you please tell me how can i get this simple example run.C:\>sqlldr scott/tiger
control = data.ctl
SQL*Loader: Release 10.1.0.2.0 - Production on Thu Sep 14 17:06:46 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Commit point reached - logical record count 3
SQL> conn scott/tiger
Connected.
SQL> create table data (col1 varchar2(40),col2 varchar2(40),col3 varchar2(40));
Table created.
SQL> select * from data;
COL1 COL2 COL3
name uday hemant
c1 45454 84894
c2 489654 21322
SQL>
data.csv
name,uday,hemant
c1,45454,84894
c2,489654,21322data.ctl
load data
infile 'c:\data.csv'
append
into table data
fields terminated by ','
optionally enclosed by '"'
(col1,col2,col3)i hope it will solve ur problem -
Using sqlldr to load CLOB data from DB2
I am stuck trying to resolve this problem. I am migrating data from DB2 to Oracle. I used DB2 export to extract the data specifying lobsinfile clause. This created all the CLOB data in one file. So a typical record has a column with a reference to the CLOB data. "OUTFILE.001.lob.0.2880/". where OUTFILE.001.lob is the name specified in the export command and 0 is the starting position in the file and 2880 is the length of the first CLOB.
When I try to load this data using sqlldr I'm getting a file not found.
The control file looks something like this:
clob_1 FILLER char(100),
"DETAILS" LOBFILE(clob_1) TERMINATED BY EOF,
I'm using Oracle 11gR2 and DB2 9.7.5
Your help is appreciated.OK..here are additional details. Some names have changed but the idea is the same. Also the sqlldr is executing in the same directory as the data files and the control file
Primary data file is VOIPCACHE.dat Secondary datafile (file with lob data) is VOIPCACHE.001.lob
Control Fileload data
infile 'VOIPCACHE.dat'
badfile 'VOIPCACHE.bad'
discardfile 'VOIPCACHE.dsc'
replace into table VOIPCACHE
fields terminated by ',' optionally enclosed by '"' TRAILING NULLCOLS
(KEY1 "rtrim(:KEY1)",
FIELD8,
clob_1 FILLER char (100),
"DATA" LOBFILE(clob_1) TERMINATED BY EOF)
Snippet from Log file
IELD7 NEXT * , O(") CHARACTER
FIELD8 NEXT * , O(") CHARACTER
CLOB_1 NEXT 100 , O(") CHARACTER
(FILLER FIELD)
"DATA" DERIVED * EOF CHARACTER
Dynamic LOBFILE. Filename in field CLOB_1
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.0.0/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.0.47/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.47.47/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.94.58/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.152.58/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.210.206/' for field "DATA" table VOIPCACHE
This is repeated for each record
sqlldr command
sqlldr userid=${SCHEMA}/${PASSWD}@$ORACLE_SID control=${CTLDIR}/${tbl}.ctl log=${LOGDIR}/${tbl}.log direct=true errors=50
I dont think the variables are important here
-EC -
I am using the Data Load option to load a csv file to an Oracle table.
I am getting a ORA-01843 Invalid Month message.
The field in the ORacle table is defined as a Timestamp.
The date data in the csv file is 2006/06/24 13:23:12 format.
What format do I put in the format box when doing the upload.
TerryProbably you are right, it should work this way, but i tried several times to upload the data OP provided into the table with timestamp column - and gave up. I should admit - i'm not aware how months name are written neither i know the simply fact that hour can be between 1 and 12 .
Obscure is - uploading into table with date column works perfectly ( simply changing format works either ) . I should probably enable tracing end try to investigate, what is here going on, but currently no time for these experiments...
Best regards
Maxim -
Usage of sequence for uploading data into tables(column store) using CSV
How to make use of sequence when data is uploaded into table(column store) with the CSV file ?
Hi Sharada,
You may have to follow the below steps:
1) To load the data from flat file to a Staging table using IMPORT command
2) You have to call the procedure to load the data further into final Table.
a) Have a look on this procedure to load data :
SAP HANA: Generic Procedure using Arrays to Load delta data into Tables
b) See my reply on the syntax on how to use "Sequence"
Auto-Incrementor in stored procedure!
You will have to ensure that you frame your insert query in such a way to have the sequence number in the target table.
Regards,
Krishna Tangudu
Maybe you are looking for
-
BLOG SUMMARY PAGE - is it possible to change?
Is it possible to create a rolling blog (i.e. no "READ MORE") and have all the entries one after another?
-
My display doesn't show up anymore for my MacBook Pro
well, here's the issue.... my screen has completely stopped working, everything works (it powers on), but screen won't. it's a MacBook Pro
-
.
-
can i sync my mac like my ipad and phone so when i download to one it downloads to the mac also
-
Can't import XML from Premiere CS6 to Final Cut Pro X?
Hi, I've been using Premier CS6 but I have downloaded the trail of FCPX and wan't to give that a try on my mac. I have edited the video in Premiere CS6 and exported it with the "Final cut pro xml" feature in AP CS6. I've exported the map containing t