Loading data into excel
HelloI tried to load data via great sheets, but my cube contain account numbers, when these numbers are entered in Excel, Excel automatically considers that these names are numbers.
How can I get rid of all this help.
Thank you
RRB
Then turn the text into excel or you can put a "in front of the number e.g. 101000"
See you soon
John
http://John-Goodwin.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
How to load data into the App MVDEMO schema example
Hi all
I'm a POC on Oracle Mapviewer and try to build some reports in OBIEE using MApviewer.
This POC, I use Oracle MVDEMO example Data (11g). I think that these sample data covers few countries like the USA.
I need to make PDS for the Brazil, I downloaded data from the map of the site as Shapefiles Brazil
in these data of the Brazil, I got from .csv files 4 extensions, .dbf, .shp and SHX
I need to know how can I load these files into my Oracle 11 g DB? Should I load data into the same pattern of mvdemo, if yes then which table?
Any help will be appreciated a lot.
Thank you
Amit
Use the Java shapefile Converter utility (http://www.oracle.com/technetwork/database/options/spatialandgraph/downloads/index-093371.html)
GDAL (gdal.org) FME (Safe) or or MapBuilder.
Specify the to SRID (i.e. the SRID for loading in Oracle geoms) 4326 or 8307.
Load into a new table named anything you want. for example brazil_gadm with the geometry named GEOMETRY column
Once it's loaded, verify that there is an entry for the table and column (BRAZIL_GADM, GEOMETRY) in user_sdo_geom_metadata
Create a space on brazil_gadm.geometry index if the tool has not created a.
Add the definitions of topic for the country, State or whatever the admin areas exist in the dataset.
Import them as layers in OBIEE.
-
URGENT: How to load data into essbase R12 by ODI
Hi all
Could you please provide me with step by step document "How to load data into essbase R12 directly through the ODI".
Kind regards
Rubi
Hello
You need below KM
RKM E-Business Suite
IKM E-Business Suite (open Interface)
then follow the link below
Red shift: ODI for eBusiness Suite integration - in 4 steps
Hope it helps
Thank you
-
A trial is possible before loading data into Essbase?
Hi all
I am trying to load data into Essbase, but I need to check in advance for any errors. Is there a way to test vacuum as we do in planning of loading utility?
I am trying to load via a rule file!This thread comes to mind:
http://www.Network54.com/Forum/58296/thread/1311019508/data+load+optimization+-headervs + columnI try to stay away from my most entertaining reviews that it simply raises my bp.
I would say that Essbase databases with incorrect data are the Essbase databases causing a lot of grief. I think that the OP certainly has the right idea, I don't think that the place to do so is Essbase.
:)
Kind regards
Cameron Lackpour
P.S. If it is a database of the OSB, I like your idea of a fictitious scenario, then a replacement of rule of load (groan) to move the data of this scenario, but even with a WHOLE CLEARBLOCK which will create a fragmentation.
Published by: CL on August 30, 2011 14:31
Well, the red stuff is in our veins, you know the stuff that carry oxygen to our body. That starts with a 'b' and ends with a "d"? This word is prohibited through OTN. As well as leather things you put on your feet. So weird. I had to post four times to understand what was get arrested. -
Loading data into Essbase by FDM
Dear Guru,
Can someone provide any document or Pdf associated with loading data into Essbase by FDM?
Thanks in advance...Hello
I found a couple of days now. Seemed quite useful.
http://www.Scribd.com/doc/61656853/configuring-FDQM-for-Hyperion-PlanningSee you soon,.
Alp -
org.apache.bsf.BSFException loading data into Essbase
What I try to do is to load data into Oracle's Essbase?
The operator-> all executions
Integration to prepare for loading (success)
Load data integration into essbase (failed) with the below error
org.apache.bsf.BSFException: exception of Jython:
Traceback (innermost last):
"< String >" file, line 23, in there?
com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 1 at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData (unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) at $0 org.python.pycode._pyx35.f (< string >: 23) to org.python.pycode._pyx35.call_function (< string >) to the 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) to (PythonInterpreter.java) org.python.util.PythonInterpreter.exec to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144) to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345) to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169) to com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2375) to com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1616) to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755) to com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:69) to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515) to com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537) to com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449) to com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954) to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:322) to oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224) to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246) to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:237) to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:794) at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114) at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:83) at java.lang.Thread.run (Thread.java:619) caused by: com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 1 at com.hyperion.odi.essbase.ODIEssbaseDataWriter.checkMaxError (unknown Source) at com.hyperion.odi.essbase.ODIEssbaseDataWriter.sendRecordArrayToEsbase (unknown Source)... 35 more
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 1
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2375)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1616)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:69)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:237)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:619)I don't really understand what's your problem, you should not need to do anything once it is executed, the interface if records have loaded, then they should be in essbase, if they are rejected, then the error should give you an idea of why they were.
See you soon
John
http://John-Goodwin.blogspot.com/ -
ODI can load data into the planning and REPLACE the existing data?
Hello
ODI (9.3.1.1) can load data into the planning and REPLACE the existing data?
Currently of our ODI by "ADD" load to existing data data - so that is I accidentally run the load twice, it would be double planning numbers. I don't know how to do it to REPLACE so that running more than twice has no effect.With the help of the essbase adapter you would use a rule of load, in the State of charge, you can set whether to replace or add to existing values. It is not difficult to pass.
See you soon
John
http://John-Goodwin.blogspot.com/ -
I was using CF7 to query data and load in the pdf file using the blog of Ben Forte XPAAJ java library. It's simple, and it worked very well. Then came CF8 and LiveCycle ES. XPAAJ was free, but is not free of LiveCycle ES. LC ES does much more than load data into a pdf and cost a bit, but it's probably worth the money. Because a small part of the LC ES is the same thing as XPAAJ did, the CF8 upgrade almost completely mask XJAAP.
(I got it by the judgment of the CF8, starting from the CF7 app service application service, and then restart the CF8 - I don't want to run like that for a long time).
I can possibly get into LiveCycle, but for now, no one knows something like XPAAJ that can load the data directly into a pdf file or a file Form Data Format (FDF)?
Thanks Scott
If by 'data' PDF mean you XMP metadata, so yes: CF8 comes with a version of the iText Java library that includes classes for reading and writing XMP in PDF format. Tag of CFPDF, CF8 uses iText under the hood, but does not yet use all of its features via CFPDF, you can simply call the Java classes directly in order to access iText XMP features.
Reading and writing XMP examples are given here:
http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?forumid=1&CATID=7&ThreadId=13 28338Check the pdfUtils of Ray Camden CFC on riaForge: it contains a new method of readXMP(). writeXMP() is coming - the code is included in the above thread in any case.
If you mean that the data of the form rather than XMP data, then iText can do too. Check the iText documentation:
http://www.1t3xt.info/API/Here is a small example of filling out form
http://www.peabrane.com/2007/3/5/PDF-templates-via-Railsand cfSearching (who really knows iText in a context of CF), there is this example, note the use of the iText fdfReader class:
http://cfsearching.blogspot.com/2008/01/submit-PDF-form-as-FDF-with-ColdFusion.html -
Loading data into Essbase directly
Hi all
I have a question about loading data into Essbase, rather than planning.
Essbase I found another dimension called HSP_Rates. How can I adjust this dimension when downloading to essbase directly?
Or the question from another perspective: when writing data to a form in the planning, to which Member of the HSP_Rates is she responsible?
I hope you got the point that I'm ugly questions :D
Your help is very appreciated.
BR
ioGGo.Hello
This link should provide a little more information:-http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch10s04s19s02.html
What data loading loading essentially it against Hsp_InputValue
See you soon
John
http://John-Goodwin.blogspot.com/ -
Cannot load data into Essbase using ODI
Hi guys,.
Help help. I have problem loading data into essbase using ODI. The error message is
java.sql.SQLException: unexpected token: ACCOUNT in the statement [select C1_ACCOUNT "" account]
I have a very simple flat file that are similar to the below:
Account, resources, time, data
Active, Na_Resource, Jan, 10
Active, Na_Resource, 12, February
With the same flat files, I am able to load data to load rules.
I use 9.3.1.0 and ODI 10.1.3.4.0 essbase. I use the ODI to load members and data in the planning without any problem.
Thank youHello
It seems to generate an extra set of quotation marks around the SQL, in my interface it generates.
SQL = "" "select C1_ACCOUNT 'Account', C2_PERIOD 'Period', C3_RESOURCE 'Resource', C4_DATA 'Data' of the" C$ _0TestApp_testData "where (1 = 1) «»
Note the single quotes around the account.
If you go to the topology Manager, on the tab of the physical architecture, right-click 'Hyperion Planning' > 'change '.
Select the "Langugage" tab for the "JYTHON" line, make sure that the "Object Delimiter" field has no quotes, if it's remove and apply and save.See you soon
John
http://John-Goodwin.blogspot.com/ -
How to load data into app unconventional planning (EPM 11.1.1.2)
Advise me please, a few ways to load data into my unconventional planning (EPM 11.1.1.2) application or perhaps a work around
Thanks in advanceHello
Without knowing your implenmentation it is difficult to make a decision for you, but more robust methods will be essbase load rules or integration using ODI.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Load data into Essbase using the rules file
Hello
IAM trying to create a rule to load for the fresh Essbase cube associated with the Hyperion Planning Application.We having 14 Dimensions (including the HSP_Rates Dimension).
The falt file used to generate the rule file has columns related to the 13 dimensions as well as the data as the 14th column column. When I validate the rules file, he said "the rules file is correct for the loading of the data.
My concern here is iam not taking care of Member Dimnesion related to the Dimension of "HSP_Rates" (not even as the Difinition of the header). I'm doing something wrong here? How validation can MOVE independently without taking into account one dimension?
If I insert the data, while recovering the data in Excel which dimension member HSP_Rates should I use?
Any response is greatly appreciated.
Thank you
RNGHello
You should charge against 'HSP_InputValue' in the HSP_Rates dimension, i.e. where the input values must be loaded.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Hi friends,
I'm trying to load records into the rules of the product table of the table with the following...
create table product)
prod_id varchar2 (20).
prod_grp varchar2 (20).
from_amt number (10),
to_amt number (10),
share_amt number (10)
);
Insert into product (prod_id, prod_grp, from_amt, share_amt) Values ('10037', "STK", 1, 18);
Insert into product (prod_id, prod_grp, from_amt, share_amt) Values ('10037', "NSTK", 1: 16.2);
Insert into product (prod_id, prod_grp, from_amt, to_amt, share_amt) Values ('10038', "NSTK", 1, 5000, 12);
Insert into product (prod_id, prod_grp, from_amt, to_amt, share_amt) Values ('10038', "STK", 5001, 10000, 16);
Insert into product (prod_id, prod_grp, from_amt, share_amt) Values ('10038', "STK", 10001, 20);
Insert into product (prod_id, prod_grp, from_amt, to_amt, share_amt) Values ('10039', "NSTK", 1, 8000, 10);
Insert into product (prod_id, prod_grp, from_amt, share_amt) Values ('10039', "STK", 8001, 12);
create table rules)
rule_id varchar2 (30),
rule_grp varchar2 (10),
rate_1 number (10),
point_1 number (10),
rate_2 number (10),
point_2 number (10),
rate_3 number (10),
point_3 number (10)
);
Criteria of loading in the rules of the table:
rule_id - "RL" | Product.prod_id
rule_grp - product.prod_grp
rate_1 - product.share_amt where from_amt = 1
point_1 - product.to_amt
rate_2 - if product.to_amt in point_1 is not NULL, then find product.share_amt of the next record with the same rule_id/prod_id where from_amt (of the next record) = to_amt (current record -
point_1) + 1
point_2 - if product.to_amt in point_1 is not NULL, then find product.to_amt of the next record with the same rule_id/prod_id where from_amt (of the next record) = to_amt (current record - )
point_1) + 1
rate_3 - if product.to_amt in point_2 is not NULL, then find product.share_amt of the next record with the same rule_id/prod_id where from_amt (of the next record) = to_amt(current )
Enregistrement-point_2) + 1
point_3 - if product.to_amt in point_2 is not NULL, then find product.to_amt of the next record with the same rule_id/prod_id where from_amt (of the next record) = to_amt (current record - )
point_2) + 1
I tried to load the first columns (rule_id, rule_grp, rate_1, point_1, rate_2, point_2) via the sql loader.
SQL > select * from product;
PROD_ID PROD_GRP FROM_AMT TO_AMT SHARE_AMT
-------------------- -------------------- ---------- ---------- ----------
10037 STK 1 18
10037 NSTK 1 16
1 5000 12 NSTK 10038
10038 5001-10000-16 STK.
10038 10001 20 STK.
10039 1 8000 10 NSTK
10039 STK 8001 12
produit.dat
PROD_ID | PROD_GRP | FROM_AMT | TO_AMT | SHARE_AMT
"10037' |'. STK' | 1. 18
"10037' |'. NSTK' | 1. 16.2
'10038' |' NSTK' | 1. 5000 | 12
'10038' |' STK' | 5001 | 10000 | 16
'10038' |' STK' | 10001 | 20
"10039' |'. NSTK' | 1. 8000 | 10
"10039' |'. STK' | 8001 | 12
Product.CTL
options (Skip = 1)
load data
in the table rules
fields ended by ' |'
surrounded of possibly ' '.
trailing nullcols
(rule_id POSITION (1) ""RL"|: rule_id")
rule_grp
from_amt BOUNDFILLER
point_1
share_amt BOUNDFILLER
, rate_1 ' BOX WHEN: from_amt = 1 THEN: share_amt END.
, rate_2 expression "(sélectionnez pr.share_amt de produit pr où: point_1 n'est pas null et pr.prod_id=:rule_id et: point_1 =: from_amt + 1)" "
, expression point_2 "(sélectionnez pr.to_amt de produit pr où: point_1 n'est pas null et pr.prod_id=:rule_id et: point_1 =: from_amt + 1)" "
)
He has not any support only values in rate_2, point_2... no error either... Not sure if there is another method to do this...
Please give your suggestions... Thank you very much for your time
Hello
Thanks for posting the CREATE TABLE and INSERT instructions for the sample data; It's very useful!
Don't forget to post the exact results you want from this data in the sample, i.e. what you want the rule table to contain once the task is completed.
As ground has said, there is no interest to use SQLLDR to copy data from one table to another in the same database. Use INSERT, or perhaps MERGE.
2817195 wrote:
Thank you for your answers... I thought it would be easier to manipulate the data using sql loader... I tried to use insert but do not know how to insert values in point_2, rate_3, rate_2, point_3, columns... For example, when point_1 is not null, need to do a find for the next with the same rule_id record and if the inserted record = pr.from_amt + 1 point_1 then RATE_2 should be inserted with this pr.share_amt of this record...
SQL > insert into the rules)
2 rule_id,
rule_grp 3,.
rate_1 4,.
point_1 5,.
rate_2 6,.
point_2 7,.
rate_3 8,.
9 point_3)
10. Select
11 'RL ' | PR.prod_id RULE_ID,
12 pr.prod_grp RULE_GRP,
13 CASES WHEN END of pr.from_amt = 1 THEN pr.share_amt RATE_1,
14 pr.to_amt POINT_1,
15 (select pr.share_amt from product pr where point_1 is not null and rules.rule_id = pr.prod_id and point_1 = pr.from_amt + 1) RATE_2,
16 (select pr.to_amt from product pr where point_1 is not null and rules.rule_id = pr.prod_id and = pr.from_amt + 1 point_1) POINT_2,.
17 (select pr.share_amt from product pr where point_2 is not null and rules.rule_id = pr.prod_id and = pr.from_amt + 1 point_2) RATE_3,.
18 (select pr.to_amt from product pr where point_2 is not null and rules.rule_id = pr.prod_id and = pr.from_amt + 1 point_2) POINT_3
19 product pr;
(select pr.share_amt from product pr where point_1 is not null and point_1 = pr.from_amt + 1) RATE_2,
*
ERROR on line 15:
ORA-00904: "POINT_1": invalid identifier
Help, please... Thank you very much
This is what causes the error:
The subquery on line 15 references only 1 table in the FROM clause, and this table is produced. There is no point_1 column in the product.
A scalar subquery like this can be correlated to a table in the Super request, but the only table in the FROM (line 19) clause is also produced. Since the only table that you read is produced, only columns that you can read are the columns of the product table.
You use the same table alias (pr) to mean different things 5. It's very confusing. Create aliases for single table in any SQL statement. (What you trying to do, I bet you can do without all these subqueries, in any case.)
-
Need a sql script loader to load data into a table
Hello
IM new to Oracle... Learn some basic things... and now I want the steps to do to load the data from a table dump file...
and the script for sql loader
Thanks in advance
Hello
You can do all these steps for loading data...
Step 1:
Create a table in Toad to load your data...
Step 2:
Creating a data file... Create your data file with column headers...
Step 3:
Creating a control file... Create your control file to load the data from the table data file (there is a structure of control file, you can search through the net)
Step 4:
Move the data file and the control file in the path of the server...
Step 5:
Load the data into the staging table using sql loader.
sqlldr control =
data = connect as: username/password@instance.
-
SQL Loader loading data into two Tables using a single CSV file
Dear all,
I have a requirement where in I need to load the data into 2 tables using a simple csv file.
So I wrote the following control file. But it loads only the first table and also there nothing in the debug log file.
Please suggest how to achieve this.
Examples of data
Source_system_code,Record_type,Source_System_Vendor_number,$vendor_name,Vendor_site_code,Address_line1,Address_line2,Address_line3
Victor, New, Ven001, Vinay, Vin001, abc, def, xyz
Control file script
================
OPTIONS (errors = 0, skip = 1)
load data
replace
in the table1 table:
fields ended by ',' optionally surrounded "" "
(
Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"
Record_type tank "ltrim (rtrim (:Record_type)),"
Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"
$vendor_name tank "ltrim (rtrim (:Vendor_name)),"
)
in the Table2 table
1 = 1
fields ended by ',' optionally surrounded "" "
(
$vendor_name tank "ltrim (rtrim (:Vendor_name)),"
Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"
Address_line1 tank "ltrim (rtrim (:Address_line1)),"
Address_line2 tank "ltrim (rtrim (:Address_line2)),"
Address_line3 tank "ltrim (rtrim (:Address_line3)).
)the problem here is loading into a table, only the first. (Table 1)
Please guide me.
Thank you
Kumar
When you do not provide a starting position for the first field in table2, it starts with the following after a last referenced in table1 field, then it starts with vendor_site_code, instead of $vendor_name. So what you need to do instead, is specify position (1) to the first field in table2 and use the fields to fill. In addition, he dislikes when 1 = 1, and he didn't need anyway. See the example including the corrected below control file.
Scott@orcl12c > test.dat TYPE of HOST
Source_system_code, Record_type, Source_System_Vendor_number, $vendor_name, Vendor_site_code, Address_line1, Address_line2, Address_line3
Victor, New, Ven001, Vinay, Vin001, abc, def, xyz
Scott@orcl12c > test.ctl TYPE of HOST
OPTIONS (errors = 0, skip = 1)
load data
replace
in the table1 table:
fields ended by ',' optionally surrounded "" "
(
Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"
Record_type tank "ltrim (rtrim (:Record_type)),"
Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"
$vendor_name tank "ltrim (rtrim (:Vendor_name)).
)
in the Table2 table
fields ended by ',' optionally surrounded "" "
(
source_system_code FILL (1) POSITION.
record_type FILLING,
source_system_vendor_number FILLING,
$vendor_name tank "ltrim (rtrim (:Vendor_name)),"
Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"
Address_line1 tank "ltrim (rtrim (:Address_line1)),"
Address_line2 tank "ltrim (rtrim (:Address_line2)),"
Address_line3 tank "ltrim (rtrim (:Address_line3)).
)
Scott@orcl12c > CREATE TABLE table1:
2 (Source_system_code VARCHAR2 (13),)
3 Record_type VARCHAR2 (11),
4 Source_System_Vendor_number VARCHAR2 (27),
5 $vendor_name VARCHAR2 (11))
6.
Table created.
Scott@orcl12c > CREATE TABLE table2
2 ($vendor_name VARCHAR2 (11),)
3 Vendor_site_code VARCHAR2 (16).
4 Address_line1 VARCHAR2 (13),
5 Address_line2 VARCHAR2 (13),
Address_line3 6 VARCHAR2 (13))
7.
Table created.
Scott@orcl12c > HOST SQLLDR scott/tiger CONTROL = test.ctl DATA = test.dat LOG = test.log
SQL * Loader: release 12.1.0.1.0 - Production on Thu Mar 26 01:43:30 2015
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
Path used: classics
Commit the point reached - the number of logical records 1
TABLE1 table:
1 row loaded successfully.
Table TABLE2:
1 row loaded successfully.
Check the log file:
test.log
For more information on the charge.
Scott@orcl12c > SELECT * FROM table1
2.
RECORD_TYPE SOURCE_SYSTEM_VENDOR_NUMBER $VENDOR_NAME SOURCE_SYSTEM
------------- ----------- --------------------------- -----------
Victor Ven001 new Vinay
1 selected line.
Scott@orcl12c > SELECT * FROM table2
2.
$VENDOR_NAME VENDOR_SITE_CODE ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3
----------- ---------------- ------------- ------------- -------------
Vinay Vin001 abc def xyz
1 selected line.
Scott@orcl12c >
Maybe you are looking for
-
I have the iPhone 6 s. My wife would get an iPhone as well. Because what we concerned, the best solution for us would be to have two phones with my phone number. That would have a main landline in the House and a telephone - both having the same numb
-
When I try to send an e-mail by using the Earthlink webmail, I get a message saying 'send mail error. Your email may not be sent. Please try again.
-
About 1 year ago, I helped set up Firefox on my mother's computer. It worked fine until a couple of days. Now, he is more connected to the internet. The system is Windows XP, service pack 3. Internet Exporer connects to the Internet on this computer.
-
USB\VID_148F &; PID_3298 &; REV_0000 - Bluetooth driver
Hi all Appreciate your support to solve this issue. Can not find the drivers for this device, it should be in the section of the conductors, but... can't find it. It appears as Ralink_RT3290_Bluetooth_01 My laptop is a HP Pavilion G6 2205ep
-
my USB cannot be recognized by any computer please help me. Thank you.
my USB cannot be recognized by any computer please help me. Thank you.