APEX application example to load data from .csv
Hi all
Apex 4.2
I want a sample application that load the .csv data in a table. Like the one conducted in the Apex utilily module.
I want the end user you connect by using the application mode and no developer apex itself.
Can give me link to this kind of application example please.
Thank you very much
MK
MariaKarpa (MK) wrote:
Apex 4.2
I want a sample application that load the .csv data in a table. Like the one conducted in the Apex utilily module.
I want the end user you connect by using the application mode and no developer apex itself.
Can give me link to this kind of application example please.
APEX 4.2 includes a sample of data loading packaged application showing how to create applications with loading of the data wizards.
Tags: Database
Similar Questions
-
An error in loading data from .csv file using sql * loader
Hello
I wrote a control file, to load data into the table.
The .csv (input file) contains a value that contains within it. So that the value is placed in "" (double quotes)
The record that contains the value that is quoted is not loaded into the file.
example: -.
input file (.csv file)
001, apple, 1, 31 December 00
002, "abc, def & ltd", December 1, 31 00
in the example above second row is not inserted into the table.
How can I insert all the rows in the table.
any help is appreciated.
Thanks in advance...
RXGlooks like your control file?
Try this.
fields ended by ',' optionally surrounded "" " -
load data from csv file into table
Hello
I'm working on Oracle 11 g r2 on UNIX platform.
We have an obligation to load data to the table to a flat file, but on one condition, need to make the comparison between filed primary key if the file is available then update another filed and if the recording is not available, we need to insert.
How can achieve us.
SQLLoader to load the CSV file data into a staging Table.
Then use the MERGE SQL command to the lines of insert/update of table setting for the target table.
Hemant K Collette
-
Hello
I have to create users in OID by reading a CSV file. I am using the dipassistant tool. To use the dipassistant that I need to create a ctl and the map file. I want to know how to create ctl and map files.
Sample data:
------------------
ID, name, status
10001, John, Jerome,
101, David, "Blue Austin", C
In addition, the user created in OID must implement a custom object class. And a few custom properties must also be set. How can I do this?
Concerning
A * RDiagram of the OID can be change to help either a LDIF file by using Oracle Directory Manager tool. Both ways should give you the same result when you create your custom object classes and attributes.
TEU in order to set up a DIP profile to load a file CSV in OID is almost the same as the creation of Java code to do. So if you're going to run this load only once, then I would say to go with Java code. But if this is going to be a day-to-day process, then you must configure DIP.
Check the following DOC:
http://download.Oracle.com/docs/CD/B28196_01/idmanage.1014/b15995/odip_sync_prof_confg.htm#i123350
Published by: Daniel Gralewski, January 21, 2010 15:19
-
Hello!
I have the database with 5 tables empty and cca 420 csv files.
TABLES looks like
Table1 (vtime, id1, id2, id3 70..)
Table2 (vtime, 71, id72, id73... id140)
VTIME value is in each table from 1 to 22 368 145
CSV resembles
CSV1 (vtime, id, x, value) [vtime is for example 1 to 53250]
CSV420 (id, x, vtime, value) [vtime is for example 22 314 895 to 22 368 145]
There are all the IDS of each CSV file
What is the fastest way and to load data from csv to table?
I wanted to use sql loader, but I can't specify something like -
+ load data from csv files 420 all and value at position 2 is (1-70) [71-140] {...}, load his value (position 3) (table 1) [table 2] {...}, rowing where vtime in the table is the same as for value(position 1) vtime + *.
Can you help me with this please? Thank you!What is the fastest way and to load data from csv to table?
Use an external table.
In this way, you can do Oracle treat your files as if they were tables.
You will have many more opportunities in this way.http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:6611962171229
http://www.Oracle-base.com/articles/9i/SQLNewFeatures9i.php#ExternalTables
http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:2754967100346565998 -
Loading data from the planning application sample
Hello
I created an example of planning application in the workspace (V 11.1.1.3). By default, they dimension 'Year' the year of departure as FY11. Whereas, loading data from file 'SampleApp_data.txt' that comes with the installation is the year of departure as FY09. Then, when I insert data in environmental assessment (form free loading), there is an error that the FY09 member is not present. Does anyone know how can I approach properly load the sample data? I tried to replace by FY11 by FY12 FY10 FY09 and so forth in Notepad, but the process still hang on the first attempt.
Thanks in advance,
AertsThe easiest way is not sample application tick the options and change the calendar 2008 or 2009, go to the finsh tab, then return to the first screen and sample application tick, then finished, it will create with the year of departure.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Loading data from SQL to Essbase table
Hello
I'm loading data from SQL to Essbase table by using a rules file. Number of rows in the source table is 7 million. I use the SUNOPSIS MEMORY ENGINE as area transit, LKM SQL for SQL and SQL IKM for Hyperion Essbase (DATA).
Question:
1 can I not use any other LKM as MSSQL for MSSQL (PCBS) to load data to the staging instead of LKM SQL for SQL? What I have to change the transit area then? Loading data using LKM SQL for SQL seems quite slow.
2 it is mandatory to use LKM SQL for SQL, can someone please tell me what I can change to make this quick support parameters?
3. is it compulsory to use the SUNOPSIS MEMORY engine loading data from SQL server to Essbase?
Thank you...
(1) Yes, I highly recommend watching using a KM which uses native as database technology these will usually be more efficient than the generic (like LKM SQL for SQL) KM especially when large volumes of data are involved. Your staging will change depends on where you organize data for example if you are using a SQL server specific KM as - MSSQL for MSSQL (PCBS) - you must have a lay-by available on a MSSQL database and have access to the utility of PCBS.
(2) it is not mandatory to use this KM you can use a KMs supported by your database technology
(3) it is absolutely not obligatory to use the SUNOPSIS MEMORY engine. This should only be used when you have relatively small amounts of data, as well as all the processes in memory, or in the case where you have no other relational technology to perform the staging on. However, in your case to use wherever you are processesing these large volumes of data you should be staged on a physical such as SQL Server or Oracle database if they are available.
-
How to load data from ms sql to the by the file rules and maxl essbase
Hi, everybody!
Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.
I want to understand, how to load data from the database to ms sql for the PB of essbase application.
(I) so I have:
1. a request for 'society '.
2 and its database 'Plan '.
3. with simple outline, which contains only two dimensions:
-The time period < 1 > (Label only)
-Total year (~)
-Qtr1 (+)
Jan (+)
Feb (+)
Mar (+)
-Qtr2 (+)
APR (+)
May (+)
Jun (+)
-Accounts < 1 > (Label only)
-Lost / based (~) (Label only)
-Revenues (+)
L1.1 (+)
L1.2 (+)
-Costs (-)
L2.1 (+)
L2.2 (+)
(II) also, I created a rules file called "CO_DWH" and associated with this schema
It (Rules file) a 3 columns:
Data of the 'period', 'account '.
There is also the option checked "load data".
(III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login
(IV) I executed my bat file:
C:\Hyperion\EssLoad.bat
There is only one line:
EssLoad.bat-
startMaxl.cmd EssLoad.txt
----------------------------------------------
EssLoad.txt-
login password admin on erpserver;
Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
disconnection;
"exit";
--------------------------------------------
All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?TOU have to do a few things
1. on the server of Essbase, put in place a system odbc for your MySQL database connection
2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhoodThe ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use
-
Loading data from Microsoft Dynamics AX via FDM
Hello world
I was wondering if anyone was using FDM to load data from Microsoft Dynamics AX into HFM via FDM, and how this was done. We are currently on version 11.1.2.2.0, thanks for any idea.
The easiest way would be to get the MS Dynamics team to provide a flat file extracts the required data and then use FDM to import in HFM. There is not out of the box adapters to interface directly with MS Dynamics, but another option would be to build an integration script to interface directly with the data in the relevant MS Dynamics via FDM tables but it would be more involved and require a knowledge of the underlying database MS Dynamics, FDM scripting, dry and would be much more difficult to maintain for the average user.
-
Error loading data from Oracle 10 g to Excel
Hello gurus,
I get the error when loading data from the Oracle 10 g database table to Excel.
I use SQL TO ADD SQL IKM.
Staging area is different from the target and I use the same pattern sense to source and put in scene.
Please help me...
Error is
0: S1000: sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.
sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch (unknown Source)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate (unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeBatch (unknown Source)
at com.sunopsis.sql.SnpsQuery.executeBatch (SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i (e.java)
at com.sunopsis.dwg.cmd.g.y (g.java)
at com.sunopsis.dwg.cmd.e.run (e.java)
at java.lang.Thread.run (unknown Source)
Kindly help me...
Thanks in advance.
SamuelHello
When you created the DSN for the spreed excel worksheet you dot not uncheck the read-only box.
Make sure that the read-only checkbox is not checked, otherwise you will get an error message when trying to insert data into the Excel worksheet (error: "[Microsoft] [ODBC Excel Driver] operation must use an update query.").Thank you
Fati -
How to load data from workflow
How to load data from workflow (POAPPRV.wft, QAPPRV.wft)
11i appsHello
Use WFLOAD to load the workflow data I.
WFLOAD apps /
0 Y FORCE xxxx.wft
WFLOAD apps /0 Y FORCE xxxx.wft -
SOS! -Error to load data from Oracle 11 g to Essbase using ODI
Hi all.
I want to load data from oracle database to essbase using ODI.
I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
The problem is.
1. when I try see data right click on the table of essbase.
va.sql.SQLException: driver must be specified
at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
at com.sunopsis.graphical.frame.bo.bA (bo.java)
at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".
org.apache.bsf.BSFException: exception of Jython:
Traceback (innermost last):
"< String >" file, line 61, in there?
com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]
at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
at java.lang.reflect.Method.invoke (unknown Source)
at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)
at org.python.core.PyMethod.__call__ (PyMethod.java)
at org.python.core.PyObject.__call__ (PyObject.java)
at org.python.core.PyInstance.invoke (PyInstance.java)
to org.python.pycode._pyx1.f$ 0 (< string >: 61)
to org.python.pycode._pyx1.call_function (< string >)
at org.python.core.PyTableCode.call (PyTableCode.java)
at org.python.core.PyCode.call (PyCode.java)
at org.python.core.Py.runCode (Py.java)
at org.python.core.Py.exec (Py.java)
I am very confused by it. Someone give me a solution or other docs.
Ethan.Hello
You say that you are loading, but you chose the KM for the loading of metadata?
If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)Ok?
See you soon
John
http://John-Goodwin.blogspot.com/ -
Tracing of data from CSV file to XY Chart
Hi all
I need to read data from a worksheet (*.) CSV) and then to trace in LabVIEW.
The file contains three values
Time, Date, temperature value
For example, here are the Logs.
16:46:59,31/01/14,+018.2C
16:47:59,31/01/14,+018.2C
16:48:59,31/01/14,+018.2C
16:49:59,31/01/14,+018.2C
16:50:59,31/01/14,+018.5C
16:51:59,31/01/14,+018.5C
16:52:59,31/01/14,+018.5C
16:53:59,31/01/14,+018.5C
16:54:59,31/01/14,+018.5C
16:56:40,31/01/14,+018.5C
16:57:40,31/01/14,+018.5C.
.
.
.
.
.
23:51:24,31/01/14,+015.0C
23:52:24,31/01/14,+015.0C
23:53:24,31/01/14,+015.0C
23:54:24,31/01/14,+015.0C
23:55:36,31/01/14,+015.0C
23:56:44,31/01/14,+015.0C
23:57:44,31/01/14,+014.6C
23:58:44,31/01/14,+015.0C
23:59:44,31/01/14,+015.0CWhat I have to do is create a VI in LabVIEW to visualize these data.
I did it as below:
It seems correct, but the x axis is the axis of time and 16:46:59 it's just to show 16, I know that I have not done something to handle this.
But I'm not able to find what I can do in this case.
Please suggest how to get exact values full time on the x-axis.
Code of your VI contains a bit of 'orphan' reading of the worksheet"which has wired the file path. Diagram-disable (or remove) this superfluous code and your VI will work very well with Temp.txt in control of the path of the file.
Bob Schor
-
Error message ORA-01722 loading data from text file
Hi all
I want to load data into the table 'dh_healthcare '.
with the columns:
...
NUMBER OF RMI,
NUMBER OF KUM,
...
Loading data with the APEX data workshop, I got the error message ' ORA-01722: invalid number. "
For example, ALEXIS has the following values:
1.99
6.49
4.14
...
KUM:
139,30
51.32
165,23
...
I tried to put the precision and scale in the column definition, but the same error message appears.
When I changed the data type of these columns in VARCHAR2 (60) the data loaded without error message.Someone at - it an idea to solve the error?
Thank you
Ben
This has to do with the settings of NLS Session about the decimal separator and the group separator.
How you load the data in the table determines where and how you set the Session variables.
MK
-
How to load data from matrix report in the base using ODI table data
Hello
How to load matrix report data in the base table data using oracle Data Integrator?
Description of the requirement:
This is the data from matrix report:
Need to convert it to the format below:JOB DEPT10 DEPT20 ___________________________ _____________ ANALYST 6000 CLERK 1300 1900
Thank you for your help in advance. Let me know if any other explanation is needed.JOB Dept Salary _____________________________________________ ANALYST DEPT10 ANALYST DEPT20 6000 CLERK DEPT10 1300 CLERK DEPT20 1900
Your list seems to be a bit restrictive, you can do much more with the procedures of ODI.
If you create the new procedure and add a step. In the 'source' tab command you define technology and pattern according to your source database. Use the unpivot operator as described in the link, please, instead of using "SELECT *' use the column names and aliases for example:"
SELECT workstation,
deptsal as deptsal,
saldesc as saledesc
OF pivoted_data
UNPIVOT)
deptsal-<-->-->
FOR saldesc-<-->-->
IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->-->
)Then in your tab 'command on target' defined technology and drawing on your target db, then put your INSERT statement for example:
INSERT INTO job_sales
(employment,
deptsal,
saledesc
)
VALUES
(
: job,.
: deptsal,.
: saledesc
)That's why you use bind variables from source to load data into the target.
Obviously if the source and target table is in the same database, you can have it all in a single statement to the "command on target' as
INSERT INTO job_sales
(employment,
deptsal,
saledesc
)
SELECT workstation,
deptsal as deptsal,
saldesc as saledesc
OF pivoted_data
UNPIVOT)
deptsal-<-->-->
FOR saldesc-<-->-->
IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->-->
)also assign the log count "Insert" on the tab corresponding to your INSERT statement, so that you know how many rows you insert into the table.
I hope this helps.
BUT remember that this feature is out in Oracle 11 g.
Maybe you are looking for
-
Storage numbers don't make sense
'Disk utility' and 'about this Mac' show 320 used to 'apps' in the small bar where the use is broken down into apps, music, etc. I most certainly do NOT have 320 apps, the actual number is closer to 15 GB. In "Disk utility", under the said bar, he sa
-
HP50g: HP50g - how to combine the programs and data of some units?
Like some people on this forum, I have a few pieces of HP50g. On each article there are data and different programs. I'm tired of this mess and want to combine all the programs of all the units in a BASE directory and install the same programs on eac
-
160N not allowing access to a single ip address please!
My router does not allow access to a single ip address. I have a site that I have ftp access to and everything was working fine until today. I can't access ftp with all the software and the site will not be rendered. I checked all implement. I ca
-
Connect home Vista & Windows XP Media to the network... Help!
What are the steps? I keep getting blocked and the message says to contact administrators, but it's us! What I am doing wrong?
-
Adding another SATA CDROM to XPS 8900
I added an additional SATA CDROM to my 8900. They both work but I'm curious to know what SATA ports on the motherboard are optimal for the CDROMs to plug. Thank you.