SQLLDR table column- excel column mapping
CREATE TABLE "DW"."ABC"
( "SKILL_NAME" VARCHAR2(60 BYTE) NOT NULL ENABLE,
"SKILL_TYPE" VARCHAR2(20 BYTE),
"DAILY_DATE" DATE NOT NULL ENABLE,
"SCC_NAME" VARCHAR2(60 BYTE),
"RFS_FORECAST" NUMBER(8,0),
"FORECASTED_CALLS" NUMBER(8,0),
"TOTAL_CALLS_ANSWERED" NUMBER(8,0)
This is a table.
FOllowing are excel columns
Date RFS Forecast FORECASTED CALLS TOTAL CALLS ANSWERED
Control file is the following
load data
CHARACTERSET UTF16
infile 'D:\CSVs\4cols.csv'
into table
"ABC"
fields terminated by "," optionally enclosed by '"'
SKILL_NAME CONSTANT 'FM',
SKILL_TYPE CONSTANT 'CLIENT',
DAILY_DATE,
SCC_NAME CONSTANT NULL,
RFS_FORECAST,
FORECASTED_CALLS,
TOTAL_CALLS_ANSWERED)
how to associate the table columns with excel columns.....
and if the first row of the excel is the header how to specify that
ECXEL DATA
Date RFS Forecast FORECASTED CALLS TOTAL CALLS ANSWERED TOTAL CALLS ABANDONED OUTBOUND CALLS MAX DELAYS >5 mins FORECASTED ASA
1-Apr-11 3,215 2,702 2,561 86 3,552 11 :30
2-Apr-11 1,888 1,374 1,232 27 1,782 6 :30
3-Apr-11 1,479 1,392 956 33 1,363 5 :30
4-Apr-11 3,423 3,290 2,970 102 3,519 8 :30
5-Apr-11 3,385 2,972 2,703 89 4,117 9 :30
6-Apr-11 3,350 2,856 2,444 101 3,997 8 :30
7-Apr-11 3,218 2,776 2,525 68 4,150 6 :30
8-Apr-11 3,217 2,693 2,564 64 3,792 5 :30
9-Apr-11 1,845 1,320 1,379 39 1,979 3 :30
10-Apr-11 1,481 1,290 1,079 32 1,784 5 :30
11-Apr-11 3,421 3,290 3,164 130 3,701 18 :30
12-Apr-11 3,474 2,978 2,835 107 4,518 15 :30
13-Apr-11 3,521 2,799 2,606 64 4,614 4 :30
14-Apr-11 3,255 2,701 2,658 52 4,830 3 :30
15-Apr-11 3,093 2,699 2,578 68 4,733 3 :30
16-Apr-11 1,821 1,301 1,406 26 2,959 5 :30
17-Apr-11 1,460 1,277 1,137 16 2,111 4 :30
18-Apr-11 3,568 3,191 3,074 84 4,253 17 :30
19-Apr-11 3,322 2,902 2,805 78 5,078 16 :30
20-Apr-11 3,476 2,789 2,570 71 4,707 14 :30
21-Apr-11 3,288 2,599 2,638 75 5,028 7 :30
22-Apr-11 3,216 2,635 2,333 66 4,495 10 :30
23-Apr-11 1,785 1,342 1,321 33 2,394 3 :30
24-Apr-11 1,508 1,275 922 33 1,332 3 :30
25-Apr-11 3,509 3,199 3,021 107 3,943 14 :30
26-Apr-11 3,424 2,985 2,817 84 4,580 11 :30
27-Apr-11 3,532 2,888 2,738 71 4,343 6 :30
28-Apr-11 3,344 2,776 2,720 68 4,176 8 :30
29-Apr-11 3,167 2,598 2,597 81 3,639 10 :30
30-Apr-11 1,805 1,291 1,198 23 2,092 4 :30
CSV Data
Date ,RFS Forecast, FORECASTED CALLS , TOTAL CALLS ANSWERED , TOTAL CALLS ABANDONED ,OUTBOUND CALLS,MAX DELAYS >5 mins, FORECASTED ASA ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1-Apr-11,"3,215","2,702","2,561",86,"3,552",11,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
2-Apr-11,"1,888","1,374","1,232",27,"1,782",6,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
3-Apr-11,"1,479","1,392",956,33,"1,363",5,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
4-Apr-11,"3,423","3,290","2,970",102,"3,519",8,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
5-Apr-11,"3,385","2,972","2,703",89,"4,117",9,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
6-Apr-11,"3,350","2,856","2,444",101,"3,997",8,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
7-Apr-11,"3,218","2,776","2,525",68,"4,150",6,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
8-Apr-11,"3,217","2,693","2,564",64,"3,792",5,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
9-Apr-11,"1,845","1,320","1,379",39,"1,979",3,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
10-Apr-11,"1,481","1,290","1,079",32,"1,784",5,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
11-Apr-11,"3,421","3,290","3,164",130,"3,701",18,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
12-Apr-11,"3,474","2,978","2,835",107,"4,518",15,:30,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
13-Apr-11,"3,521","2,799","2,606",64,"4,614",4,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
14-Apr-11,"3,255","2,701","2,658",52,"4,830",3,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
15-Apr-11,"3,093","2,699","2,578",68,"4,733",3,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
16-Apr-11,"1,821","1,301","1,406",26,"2,959",5,:30
17-Apr-11,"1,460","1,277","1,137",16,"2,111",4,:30
18-Apr-11,"3,568","3,191","3,074",84,"4,253",17,:30
19-Apr-11,"3,322","2,902","2,805",78,"5,078",16,:30
20-Apr-11,"3,476","2,789","2,570",71,"4,707",14,:30
21-Apr-11,"3,288","2,599","2,638",75,"5,028",7,:30
22-Apr-11,"3,216","2,635","2,333",66,"4,495",10,:30
23-Apr-11,"1,785","1,342","1,321",33,"2,394",3,:30
24-Apr-11,"1,508","1,275",922,33,"1,332",3,:30
25-Apr-11,"3,509","3,199","3,021",107,"3,943",14,:30
26-Apr-11,"3,424","2,985","2,817",84,"4,580",11,:30
27-Apr-11,"3,532","2,888","2,738",71,"4,343",6,:30
28-Apr-11,"3,344","2,776","2,720",68,"4,176",8,:30
29-Apr-11,"3,167","2,598","2,597",81,"3,639",10,:30
30-Apr-11,"1,805","1,291","1,198",23,"2,092",4,:30
CREATE TABLE ABC
SKILL_NAME VARCHAR2(100),
SKILL_TYPE VARCHAR2(100),
SCC_NAME VARCHAR2(100),
DAILY_DATE DATE,
RFS_FORECAST NUMBER(10),
FORECASTED_CALLS NUMBER(10),
TOTAL_CALLS_ANSWERED NUMBER(10),
TOTAL_CALLS_ABANDONED NUMBER(10),
OUTBOUND_CALLS NUMBER(10),
MAX_DELAYS_5_MINS NUMBER(10),
FORECASTED_ASA DATE)
Edited by: :) on Jul 15, 2011 8:04 AM
Similar Messages
-
Hi, I am really new to OBIEE 10g.
I already set up a SQL Server 2005 database in Physical and import a view vw_Dim_retail_branch.
The view has 3 columns: branch_id, branch_code, branch_desc.
Now I want to set up the Business model to map this physical table (view).
I created a new Business model
Added new logical table Dim_retail_branch
In the sources, added the vw_Dim_retail_branch as source table.
But in the Logical table source window, column mapping tab, it's blank. I thought it should be able to identify all the columns from vw_Dim_retail_branch, but not. The show mapped columns is ticked.
What should I do here? Manually type each column?HI,
Just you can drag and drop the columns from physical layer to BMM layer.
Select the 3 columns and drag and drop it to the created logical column in BMM layer.
for more reference : http:\\mkashu.blogspot.com
Regards,
VG -
Script to show forms label - table/column mapping
Hi,
Is there a script that reads a .fmb file and generates an output that shows what is the table/column behind every label/field ?
Appreciate your help.
Thanks,
Gopalthere is no script
maybe its easier to write a library with a procedure, which loops through all blocks and in the block through each item and get those data you need.
get_form_property (FIRST_BLOCK)
get_block_property (blockname, NEXTBLOCK)
get_block_property (blockname, FIRST_ITEM)
get_item_property (blockname, NEXTITEM)
try it
Gerd -
Need help in GL table column mapping - R12.1.3
Hi,
we are upgrading from 11.5.10 to R12.1.3
While modifying one of the reports, come across a query which uses gl_mc_reporting options table.
This table is replaced by gl_ledger_relationships in R12.
However, in the query, we are using reporting_set_of_books_id in the where clause.
Can you please let me knw the corresponding column I need to use from gl_ledger_relationships in R12.
Thanks!well vishwa u r right it wont work for multiple columns,
then i guess this shud work.
@thendral
U can try like this create the rows with single column
then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
кu03B1ятu03B9к -
Hi,
I'm evaluating the latest Kodo JDO and am facing some problem mapping our
existing data model.
What we need is a dynamic field to table column mapping, i.e, I would like
to define a Map within my class that can hold an arbitrary number of
column names and values, and have these peristed and/read. I am not sure
how, if at all, if I can use the custom class/field mapping to achieve
this.
Just to make things more clear, I'm looking for a way to implment a
MyClass.getValue(fieldName), and MyClass.setValue(fieldName,fieldValue)
API, where the possible set of of field names can only be known at run
time.
Thanks for any help!!
AnoopThank you. I understand that if I define my own classmapping , override
the insert(), update(), delete and probably a few other functions to
determine the SQL queries, I hould be there. I probably need to define a
FieldMetaData too, right?
How could I go about implementing the lazy loading, or fetch groups,
though? As I see it, the custom class mappings only provide a way to load
the entire data of a JDO.
I realise this is stretching the limits of JDO, but I hope I'm right in
assuming that once the above is in place, it would be possible to leverage
the benefits of caching, clustering and transaction management provided by
the JDO implementation.
Thanks,
Anoop
Patrick Linskey wrote:
You probably could put together a custom field mapping to achieve this.
However, note that this is not a use case that Kodo is intended for.
It is likely that it would be possible to put together a custom field
mapping that would properly deal with queries, and maybe even one that
could handle lazy loading.
-Patrick
On Wed, 04 Jun 2003 15:05:23 +0000, Anoop wrote:
Hi,
I'm evaluating the latest Kodo JDO and am facing some problem mapping
our existing data model.
What we need is a dynamic field to table column mapping, i.e, I would
like to define a Map within my class that can hold an arbitrary number
of column names and values, and have these peristed and/read. I am not
sure how, if at all, if I can use the custom class/field mapping to
achieve this.
Just to make things more clear, I'm looking for a way to implment a
MyClass.getValue(fieldName), and MyClass.setValue(fieldName,fieldValue)
API, where the possible set of of field names can only be known at run
time.
Thanks for any help!!
Anoop
Patrick Linskey
SolarMetric Inc. -
Map excel columns to oracle table column using forms 6i
Hello,
I am importing data from excel to oracle table using oracle forms 6i.
Suppose my table have 3 columns id, name,sal. The excel sheet i am importing having
3 or more colums, also excel sheet columns are not in order as per table columns.
i.e my table have id, name, sal
and excel have name, sal, id
my question is how can i map excel colums with table colums and insert it into table.
I am using oracle 6i forms (ole2 package).
ThanksWhat was wrong with the first answer to the same question?
Re: map excel columns on oracle forms and insert it into database -
Export data to excel and table column headers
I noticed that with LV 2012 when I call the method "Export Data to Excel" for a table, the table headers (= column names) are not exported to excel.
Am I right? I think that the column names should be exported too...
As a matter of fact when you call the method "Export to simplified image" the column names are included
How can I export the table column names to excel?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP EmbeddedIn this document there is a full description of how to export data from LabVIEW to Excel.
Using a table, the method "Export data to excel" should export the "currently selected data", and data can be programmatically selected using ActiveCell property (as described here).
With ActiveCell I can select the column headers too (using negative numbers for row and/or column), and I do this.
And so I expect that when I select "Export data to Excel", the column headers should be exported too (because I selected them!).
I think that the actual behavior is a bug, rather that an expected behavior.
Don't you agree?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded -
How mapping sharepoint list Columns to Sql server data table columns programaticlly
Hi ,
I have one Verification List in share Point ,in that list i have 10 columns.And we have sql server in that sql server we have one data table Verification_Table
in that table we have 25 column, my requirement is all list data move to sql data table[ what ever columns mapping to list--->data table that data store in data table reaming column is Null]
using grammatically not in BCSHello,
You can create SQL connection and use Datareader to read from SQL.Firs create a connection string and put this string in web application web.config file of your sharepoint site.
Now use below code to call your connectionstring in your webpart.
SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["ConnectionString"]);
Here is link to read the data from SQL:
http://www.akadia.com/services/dotnet_data_reader.html
Here is one MSDN link to read SP list data:
http://msdn.microsoft.com/en-us/library/dd490727%28v=office.12%29.aspx
Let me know if you have any doubt
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to not make Tables, Column and Data Available in Excel
Goal:
Not displaying the dimension table and its data in excel
Problem:
I was enable to deny access for the user roles in SSAS about denying access the data from the column but the next thing is that I do not know how dimension table and column not to be available in the excel.
Information:
*The datasource is SSAS
*I have made three user to have access to two tables only.Hi Sakura,
According to your description, you want the Manager role can see all dimension table and its data column. And the Employee role can't view all table, column and data, right? Currently we don't have a direct option to complete hide the dimensions or attributes
to some roles. However you can use workarounds below.
Using cube perspectives and hide the cube dimension attribute then set the perspectives to role.
Perspectives
Use this workaround discussed in the similar thread below.
Dimension attribute security to hide or unhide an attribute
based on certain condition
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
I am searching for HANA Live Content views column mapping to SAP tables document. Please let me know where can I find it.
Hi Srinivas,
I guess this is the same question as the one about the SD content, so my answer is the same:
if you have access to the HANA Live RDS documentation which comes as part of the so called Step-by-Step Guide you can find a document RDS_SHL_HANA10V5_Technical_Content_Mapping_EN_XX.xls in the folder structure. To get to this file you need to drill down this path:..RDS SBS Guides\HANA Live\V5\Serv_Enabled\RDS
In that file you find all the tables used in all the RDS content.
Regards
Miklos
Solution and Knowledge Packaging
SAP Labs -
Warning in WD ABAP Table - Master Column Mapping deprecated
Hi ,
I am getting a warning 'Master Column Mapping deprecated' in a WD ABAP component while activating it .
Can anybody suggest what I have to do to solve this issue .
Best Regards
SidHi,
Could you please tell me how to take Row Arrangement in Master Column?
Cheers
Harkesh Dang -
Urgent Help Required for Check Box in Table Column
Hi all,
Could any body help me to solve my problem?
First of all I have created a table whose one column is check box. The column of the tables are Name,Phone,ID,Address and a checkBox columns.In one view
the table will be found with data. I want to click on some of the rows(suppose there are 5 rows, but based on some condition I have selected the check box of 3 rows).
Next there will be a button(Supose SEND Button).
After selecting the check box I want to press that button and then a new window will come which will show two tables. one for selected rows(with the same columns name except check box) and another for Unchecked rows with the same column name(Name,Phone,ID,Address).
Could any body help me by sending the details and code?
Thanks and Regards.
SudipHi Sudip,
1) create custom controller and appropriate context structure there (dataNode(Name,Phone,ID,Address,Check))
2) create view StartView. Map data node from custom controller to node in view. Create table and bind context node attributes to appropriate table columns.
3) create view ResultView. Map data node from custom controller to node in view. Create 2 nodes (CheckedData, UncheckedData) with supply methods. Create filtering implementation in supply methods (add checked and unchecked node elements to appropriate nodes).
4) create new window with resultView as default view
4) in startView in button action handler put something like
IWDWindowInfo _windowInfo = wdComponentAPI.getComponentInfo().findInWindows("Popup");
IWDWindowManager manager = wdComponentAPI.getWindowManager();
IWDWindow _window = manager.createWindow(_windowInfo, true);
_window.open();
So, just tried localy and it works.
Best regards, Maksim Rashchynski. -
How to align a String value to the right side inside a table column?
Hi,
I have a text view inside a table column which is mapped to a string attribute. I need to align the text in the text view to the right hand inside the table column. But its always getting aligned towards the left side. I have tried by setting the <b>hAlign</b> property of Element properties of Text View to <b>right / forced right</b> but still the text is getting aligned to the left side.
How do I align the String values in Text View towards the right hand side inside a Table Column?
Thanks and Regards,
Sayan GhoshHello Sayan,
if i do get it right, you are adding an TextView element to a Table Cell. Then you should consider setting aligment within the particular cell. By calling:
YourCell.setHorizontalAlignment(CellHAlign.RIGHT)
regards.
mz -
GUI_DOWNLOAD with Internal table column names
Hi!
I am using FM 'GUI_DOWNLOAD' to download internal table to excel sheet. But, I am finding internal tables values only into excel sheet. I want Internal Table's column name as well. Please help me. and guide me.
Thanks in advance.
-Rupesh kayasth.Hi Rupesh,
You have two tables in the Tables parameter. One is DATA_TAB where you have to provide the internal table name which data you want to download. Second one is Field Names where you can provide the column names for the internal table fields. Concatenate the column names in a string and pass it to Fields names table.
Regards,
Jayaram...
Message was edited by:
Jayarama Sarma Mudda -
List of SA,Tables,Columns used in the reports
Hi Experts,
We have 5 dashboards and nearly 35 reports from different subject areas now we want to make a list in the excel which
subject areas,tables,column names ,formulas used in that columns as been used in the particular reports.
As we have complex reports so it is very hard to check manually is there any option to check all these.
Thanks,Use catalog manager to build a report.
Open catalog then Select folder->Tools->Create Report
save it as .csv and open in spreadsheet
You may have to generate rpd doc since expressions are shared in report level and also in rpd level
Pls mark correct/helpful
Maybe you are looking for
-
Difference between Abort_Query and Exit_Form
Hi all, I'm using developer 6i in C/S environment. I have the follwing code: If :system.mode = 'ENTER_QUERY' then do_key('ABORT_QUERY'); else do_key('CLEAR_FORM'); end; This has a strange behaviour. When the form is in 'ENTER_QUERY' mode the abort_qu
-
MBP 2.16 core duo networking slow
Hi My 2.16 MBP Core duo seems to be having networking speed issues. When I first got it in September 2006, I was seeing bandwidth speeds on my home wireless network comparable to a wired computer on the same router (Apple Extreme base station, comcas
-
System Performance - ERROR Workitems
Hi Friends , I have the following query . I have no of workitems in ERROR status and workflow has been stopped . I dnt want to process those workflows further . I dnt want those ERROR workitems to be cleaned from my sysetm . I think this ERROR wor
-
How do i remove stuff out of lauchpad?
so i tried to remove my "Macintosh HD" icon out of my desktop, i couldn't, so i dragged the 'Macintosh HD" icon in to the 'Launchpad" icon. I thought it would work, but it didn't. So now i have a bunch of stuff like "Embed", "AddPrinter", "Software U
-
Can we use PHP with Portal.
Hello ! Can we use PHP with oracle portal. Can we make portlets in PHP and use it in oracle portal. If yes then how . Any kind of help will be appreciated . Regards Seemab