Loading data: formatting of data for the timestamp column
Hi all
I have a table with a timestamp column, named created_date. I want to download this table data using load data page. but there is a problem when downloading data, I have a csv file in which data column created_date in two different format as follows,
03/09/2013-03:33
02/09/2013-15:24
the above data throws an error ORA-01821: date format not recognized.
In Data / Table Mapping page, I tried with HH12:MI MM/DD/YYYY: SS AM. What format should I use for am and pm?
Please help me solve...
Thanks in advance
Lacombe
I solved it by using the format MM/DD/YYYY HH:MIAM.
Thank you
Lacombe
Tags: Database
Similar Questions
-
How to create a default value for the timestamp column?
I am trying to create a table with a default value to a timestamp column, can it be done?
CREATE TABLE matbl
(
Default TIMESTAMP WITH time ZONE SCHEDULE date FutureDateTime ' 23:23:59.000 2999-12-31'
)incorrect data type. try rather timestamp with time zone.
CREATE TABLE myTbl ( FutureDateTime TIMESTAMP WITH TIME ZONE default to_timestamp ('2999-12-31 23:23:59.000','yyyy-mm-dd hh24:mi:ss.ff') )
-
How to load data for the dimensions of the unmapped target
Hello
I HAV requirement that
the source dimensions are
1 account
2 company
Dimensions of the target
1 account
2 entity
3.CUSTOM1
4.CUSTOM2
5 PIC
I drew one account & other entity left blank...
It was the order to HAV, mapped from the source address.
For PEAK value [no PIC] must be load in the target, but this value was not in the source
How can I specify the Format of data support Mapping in [Explicit, between the two, etc.] to encode the value target
also other dimensions not mapped
Thanks in advance
Hello
You can create a map like *-> [no PIC]
If you want to display a value in the ICP source, you can configure your import format to import a static value and map this value.
Concerning
-
SQL * Loader: load data in the format MM/DD/YYYY HH: mi: SS PM
Please advice how to load data in the format MM/DD/YYYY HH: mi: SS PM in an Oracle Table using SQL * Loader.
-Should what format I give in the control file?
-What would be the type of column to create the table to load data.
Examples of data below;
MM/DD/YYYY HH: MI: SS PM
14:40:20 09/12/2012
29/11/2011 11:23:12
Thanks in advance
AvinashAstr0 wrote:
Hello Srini,I tried with the date of creation as DATE data type, but I had an error like
ORA-01830: date format picture ends before converting entire input string CREATION_DATE "TO_CHAR(TO_DATE(:CREATION_DATE,'MM/DD/YYYY HH:MI:SS AM'),'DD-MON-YYYY HH:MI:SS AM')",
Try
CREATION_DATE "to_Date(:CREATION_DATE,'yyyy-mm-dd hh:mi:ss AM')",
Does that help? It is charging correctly in the timestamp column
REDA
-
Loading data for planning in the Interface of EPMA
Hi all
I have worked in Essbase and planning Applications and have accomplished the task of loading data and the option Table Interface EPMA and planning.
However I have a requirement, that is to say, I want to load planning data in the Interface Table...
Is this possible? Everyone please help me...
Thanks in advanceIf you want to fetch data from the essbase planning data and load into a table of interface?
The table interface is essentially just a relational table, there are a number of ways to get order dataexport data, report script, cdf, essbase mdx.
You could automate with scripts, ODI, or if you are willing to pay then stars analytical.See you soon
John
http://John-Goodwin.blogspot.com/ -
Problem loading data for Planning Server through ODI
Hi all
I am facing problem while loading data for Planning Server through ODI.
I created the interface with flat as a source of data as file below
Location data load Cube name POV cost per seat
Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk1, Local 333
Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk2, Local 444
Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk3, 555 Local
Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk4, Local 666
Budget, Working_2010, FY10, Wk5, Tidel Equifax, Local 777 Ctbn_PnL
Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk6, Local 888
Budget, Working_2010, FY10, Wk1, PADI Ctbn_PnL Equifax, Local 222
Budget, Working_2010, FY10, Wk2, PADI Ctbn_PnL Equifax, Local 111
Budget, Working_2010, FY10, Wk3, PADI Ctbn_PnL Equifax, room 345
Budget, Working_2010, FY10, Wk4, PADI Ctbn_PnL Equifax, Local 346
Budget, Working_2010, FY10, Wk5, PADI Ctbn_PnL Equifax, Local 347
Budget, Working_2010, FY10, Wk6, PADI Ctbn_PnL Equifax, Local 349
And the target as an application of Planinng. Interface has been properly executed, but are not filled with data in the form of Plannning or Essbase.
I obtained the information in the log file after running the interface:
2010-05-20 18:45:38, 409 [DwgCmdExecutionThread:null:5] INFO: Oracle Data Integrator adapter for Hyperion Planning - free 9.3.1.1
2010-05-20 18:45:38, 409 INFO [DwgCmdExecutionThread:null:5]: connection for application [PnL_ODI] [chnveltss03]: [11333] using [admin] username.
2010-05-20 18:45:39, 800 [DwgCmdExecutionThread:null:5] INFO: successfully connected to the planning application.
2010-05-20 18:45:39, 800 INFO [DwgCmdExecutionThread:null:5]: loading for the charge of planning options
Name of the dimension: location like Parent child: false
Order By entry charge: forgery
Update the database: true
2010-05-20 18:45:39, 815 INFO [DwgCmdExecutionThread:null:5]: beginning of the loading process.
2010-05-20 18:45:39, 815 DEBUG [DwgCmdExecutionThread:null:5]: number of columns in the result set of source does not match the number of columns planning targets.
2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] INFO: type of load is a [member of the load dimension].
2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 878 [DwgCmdExecutionThread:null:5] ERROR: Record [[null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null]] has been rejected by Planning Server.
2010-05-20 18:45:39, 878 [DwgCmdExecutionThread:null:5] INFO: planing cube refresh initiated.
2010-05-20 18:45:44, 284 INFO [DwgCmdExecutionThread:null:5]: planning of the cube refresh operation completed successfully.
2010-05-20 18:45:44, 284 INFO [DwgCmdExecutionThread:null:5]: load the process is complete.
Please help me in this grace,
SrinivasYou are right. The table that you have described is in the format 'Generation' (the highest to the lowest level of the hierarchy). The KM of planning requires data to load in format "Parent/child". You must create multiple interfaces (one for each pair of generation) or use a view to make the transformation.
While a view seems to be the easier choice, note that ODI will not be able to perform any analysis of lineage of data on the integration process.
Hope this helps,
Matt -
Issue while loading data using the file Rules Essbase
Hi all
I am facing problem while loading data using the Rules file. In the rules file, I rejected several members in two areas (two dimensions). Now if I load the data using the rules file I'm getting errors for all members in the dataload.err file. If I reject mutiple members of a single field, the data load without settling errors in the dataload.err file.
I want to know how rmany members of several fields of ejection for loading data using the file Rules Essbase? Is it possible?
Okay, okay... I think that you must assign Global Select / reject Boolean in the parameters of loading data as 'Or':
-
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.
-
How to get the date for the first Monday of each month
Dear members,
How to get the date for the first Monday of each month.
I wrote the following code
SELECT decode (to_char (trunc (sysdate + 30, 'MM'), 'DAY'), 'MONDAY', trunc (sysdate + 30, 'MM'), NEXT_DAY (trunc (sysdate + 30, 'MM'), "LUN")) FROM DUAL
But he looks at complex bith.
Abhishek
Published by: 9999999 on 8 March 2013 04:30Use the IW format - it will make independent NLS solution. And all you need is truncated 7th day of each month using IW:
select sysdate current_date, trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month from dual / CURRENT_D FIRST_MON --------- --------- 08-MAR-13 04-MAR-13 SQL>
Here is the list of the first Monday of the month of this year:
with t as( select add_months(date '2013-1-1',level-1) dt from dual connect by level <= 12 ) select dt first_of_the_month, trunc(dt + 6,'iw') first_monday_the_month from t / FIRST_OF_ FIRST_MON --------- --------- 01-JAN-13 07-JAN-13 01-FEB-13 04-FEB-13 01-MAR-13 04-MAR-13 01-APR-13 01-APR-13 01-MAY-13 06-MAY-13 01-JUN-13 03-JUN-13 01-JUL-13 01-JUL-13 01-AUG-13 05-AUG-13 01-SEP-13 02-SEP-13 01-OCT-13 07-OCT-13 01-NOV-13 04-NOV-13 FIRST_OF_ FIRST_MON --------- --------- 01-DEC-13 02-DEC-13 12 rows selected. SQL>
SY.
-
Process to get Performance data for the managed entity c#
Could someone please describe the process for pulling data from the API performance? The documentation seems a bit muddled.
Qustions:
Should you create a custom interval perf or you can use the default settings?
If I have a performanceManager MOR and a hostSystem MOR what methods should I call on the PerformanceManger object to retrieve the performance counters on the managed entity? I'm trying to get ready time % of a host. Looks like I need to use the QueryAvailablePerfMetric method to draw the MetricID and then use the QueryPerf to shoot the actual static...
Any help is appreciated.
VirtualFisk
You can use available perfIntervals to extract data.
You have reason to extract performance data, you must first call QueryAvailablePerfMetric to get metricIds and then pass them in the appeal of QueryPerf.
Also to check whether or not real-time data are available on the entity you must first call QueryPerfProviderSummary on entity and check the PerfProviderSummary currentSupported property. If she defined as true, real-time data are available and you can pass PerfProviderSummary refreshRate as intervalID in your QueryAvailablePerfMetric call and still pass this refreshRate as intervalID PerfQuerySpec for QueryPerf appeal.
Please see following code snippet to retrieve data for the managed entity HostSystem (hostMoRef), you can replace it with a managed object of an entity reference
int counterID;
int key;
String group;
String name;
String rollup;ManagedObjectReference pmRef = _sic.perfManager;
PerfCounterInfo[] cInfo = (PerfCounterInfo[])getObjectProperty(pmRef, "perfCounter");Hashtable PerfByID = new Hashtable();
for (int i = 0; i < cInfo.Length; i++)
{
key = cInfo[i].key;
group = cInfo[i].groupInfo.key;
name = cInfo[i].nameInfo.key;
rollup = cInfo[i].rollupType.ToString();
Console.WriteLine("ID: " + key + " group: " + group + "." + name + "." + rollup);
PerfByID.Add(key, group + "." + name + "." + rollup);
}
Console.WriteLine("\n---------------------------------------------");
Console.WriteLine("Entity: " + hostMoRef.Value);
PerfProviderSummary perfSum = _service.QueryPerfProviderSummary(pmRef, hostMoRef);
Console.WriteLine("Refresh Rate" + perfSum.refreshRate + "\nCurrentSupported :"
+ perfSum.currentSupported + "\nisSummarySupported :" + perfSum.summarySupported);Console.WriteLine("Fetching Perf Metric Ids");
DateTime curTime = _service.CurrentTime(_svcRef);
DateTime beginTime = curTime.Subtract(new TimeSpan(1, 0, 0));
DateTime endTime = curTime;
int intervalID;
if (perfSum.refreshRate < 0) {
intervalID = 300;
} else {
intervalID = perfSum.refreshRate;
}
intervalID = 300;
PerfMetricId[] Ids = _service.QueryAvailablePerfMetric(pmRef, hostMoRef, beginTime, false, endTime, false, intervalID, true);if (Ids != null && Ids.Length > 0)
{
Console.WriteLine("Ids fetched from QueryAvailablePerfMetric API are:");
for (int k = 0; k < Ids.Length; k++) {
Console.WriteLine("ID is: " + Ids[k].counterId + " Instance is: " + Ids[k].instance + "Name is: " + PerfByID[Ids[http://k].counterId|http://k].counterId]);
}PerfQuerySpec qSpec = new PerfQuerySpec();
qSpec.entity = hostMoRef;
qSpec.metricId = Ids;
qSpec.format = "csv";
qSpec.intervalId = intervalID;
qSpec.startTime = beginTime;
qSpec.startTimeSpecified = true;
qSpec.endTime = endTime;
qSpec.endTimeSpecified = true;
qSpec.maxSample = 1;
qSpec.maxSampleSpecified = true;PerfQuerySpec[] qSpecs = new PerfQuerySpec[] { qSpec };
if (hostMoRef != null)
{
PerfEntityMetricBase[] perfEntity = null;
perfEntity = _service.QueryPerf(pmRef, qSpecs);if (perfEntity != null && perfEntity.Length > 0)
{
for (int i = 0; i < perfEntity.Length; i++)
{
PerfEntityMetricCSV pms = (PerfEntityMetricCSV)perfEntity[i];
PerfMetricSeriesCSV[] vals = pms.value;
if (vals != null)
{
Console.WriteLine("Perf Counters fetched");
for (int vi = 0; vi < vals.Length; vi++)
{
PerfMetricSeriesCSV pmCSV = vals[vi];
if (PerfByID[vals[http://vi].id.counterId|http://vi].id.counterId].ToString().StartsWith("mem.vmmemctl")) {
Console.WriteLine("CounterId: " + vals[vi].id.counterId + " Name: " + PerfByID[vals[http://vi].id.counterId|http://vi].id.counterId] + " Instance: " + vals[vi].id.instance + " ----- ");
counterID = vals[vi].id.counterId;
//Console.WriteLine("Value in Map: " + PerfByID.get(counterID));
Console.WriteLine("-------- Value : " + pmCSV.value);
}
}
}
}
}
else
{
Console.WriteLine("Performance statistics not available for this entity!");
}
}
}
else
{
Console.WriteLine("Perf Metrics not fetched");
} -
Need data files and rules file to create and load data for sample.basi
I need emergency data files to build dimensions dynamically and also the rule files for loading data to the application Sample.Basic for Essbase 9. Kindly let me know if anyone can provide them. Otherwise any link frm where I can get it?
Thanks in advance.Outline and all the data (calcdat.txt) are included in the zip, so you don't need to rebuild something with the loading rules
See you soon
John
http://John-Goodwin.blogspot.com/ -
How do I remove the launch date for the safe in FF portable ESR 31
How do I remove the launch date for the safe in FF portable ESR 31. Is it possible that - by pressing the SHIFT key when you launch firefox shows the option of safe mode - off and close the browser.
See also:
-
How to get back my data for the health and the watch Apps once I've restored my phone?
How to get back my data for the health and the watch Apps once I've restored my phone?
From the backup, you're going to be restoration.
If you back up to iTunes, make sure that it is an encrypted backup.
-
Could re: Anyone tell me the release date for the Toshiba Tecra S10-106
Could someone tell me the release date for the Toshiba Tecra S10-106. What would be the estimated price for this model.
Thank you
I already posted this in your other thread on Tecra A10.
On the Europe of Toshiba page-> Products->-> Tecra laptops, you will find a whole list of different series and Tecra models.
Right now I find only the info that these phones will be available soon.
You may need to wait a bit...
-
Re: Release Date for the Tecra A10 - 18 p and A10 - 15 c
Could someone tell me the release date for the Toshiba Tecra A10 - 18 p and A10 - 15 ° C. What would be the estimated price for these two models.
Thank you
I didn't find the release date of this laptop models.
On the Europe of Toshiba page-> Products->-> Tecra laptops, you will find a whole list of different series and Tecra models.
Right now I find only the info that these laptops will be available soon.
Maybe you are looking for
-
Download Helper button - where is he past?
Before this last update, the 'three balls' icon of DownloadHelper add-on has always been available at or near the top bar. Now it is no - where to be seen, not even in the Menu box.
-
How can I empty trash in mail?
Why is there not a 'button to empty the trash' under mail. How can I empty trash?
-
LabVIEW crashes when I add USB R Series devices
Hello I see my USB 7855R of the MAX. But when I add the device to a LabVIEW project, it freezes and stops working. My system configuration is as below. Windows 7 64 bit LabVIEW 2013 SP1 f2(32bit) LabVIEW FPGA 13.0.1 NEITHER RIO 14.0.1 Does perform a
-
HP Support Assistant update 11/15/2012
I made an update to HP Support Assistant, and after I restarted, he asked if I wanted to keep quick access? in my taskbar. I said Yes, but there is no back entrance. How can I get that back?
-
Switching providers using Windows Media Center
I've been using Windows Media Center as a DVR with Verizon FiOS for a couple years now, but I'm going to switch service providers soon to Optimum to save money. WMC will recognize that there is a new cablecard immediately and ask me to put up? In add