Date conversion bug?
In Oracle 10.2:
When I run this SQL I get, ORA-01878: specified field not found in datetime or interval error message. In 2007, DST happened the last week of October, but in 2008 and 2009, DST for Sydney happened the first week of October. Am I missing something?
select
to_char(from_tz( to_timestamp('2008102602', 'yyyymmddhh24') , 'Australia/Sydney') at time zone 'US/Central')
from dual
In 2007
Sunday, October 5, 2008 at 1:59:59 AM
Sunday, October 5, 2008 at 3:00:00 AM
Sunday, October 4, 2009 at 1:59:59 AM
Sunday, October 4, 2009 at 3:00:00 AM
Actually, DST changed.
Australia Daylight Saving Time
Changed from 2007-2008. Summer Time (Daylight Saving Time) runs in New South Wales, the Australian Capital Territory, Victoria. South Australia and Tasmania from the first Sunday in October through to the first Sunday in April.
Also, if you look in: http://www.timeanddate.com/worldclock/timezone.html?n=240&syear=2000
it says that summer time change happens the last week of October up to 2007, but starting 2008, it happens during the first week of October.
Sunday, October 28, 2007 at 1:59:59 AM changes to:
Sunday, October 28, 2007 at 3:00:00 AM
Sunday, October 5, 2008 at 1:59:59 AM changes to:
Sunday, October 5, 2008 at 3:00:00 AM
Sunday, October 4, 2009 at 1:59:59 AM changes to:
Sunday, October 4, 2009 at 3:00:00 AM
So it seems like Oracle isn't aware of this change?
The query below is the DST change that should cause a time conversion error, but it doesn't:
select
to_char(from_tz( to_timestamp('2008100502', 'yyyymmddhh24') , 'Australia/Sydney') at time zone 'US/Central')
from dual
Similar Messages
-
Data Conversion Errors for the last week
We've been running a simple Stream Analytics job for little over a month now with a very light workload. Input is Event hub and output SQL Server. We noticed today that we haven't received anything into SQL Server since 2014-12-08 (we don't receive events
every day so we only know that everything still worked on the 8th of December), so we checked the job's logs. It seems that job is failing to process all the messages: The value of "Data Conversion Errors" is high.
I wonder what could have happened? We haven't touched the client since we started the job so it's still sending the messages in same format. And we haven't touched the job's query either.
Has there been an update to either to Stream Analytics or to Events Hub which could cause the issue we're seeing?I've followed word for word the TollApp Instructions (except the thing with NamespaceType "Messaging" that has been added to New-AzureSBNamespace).
I have 0 line in output, and this is the service log:
Correlation ID:
e94f5b9e-d755-4160-b49e-c8225ceced0c
Error:
Message:
After deserialization, 0 rows have been found. Possible reasons could be a missing header or malformed CSV input.
Message Time:
2015-01-21 10:35:15Z
Microsoft.Resources/EventNameV2:
sharedNode92F920DE-290E-4B4C-861A-F85A4EC01D82.entrystream_0_c76f7247_25b7_4ca6_a3b6_c7bf192ba44a#0.output
Microsoft.Resources/Operation:
Information
Microsoft.Resources/ResourceUri:
/subscriptions/eb880f80-0028-49db-b956-464f8439270f/resourceGroups/StreamAnalytics-Default-West-Europe/providers/Microsoft.StreamAnalytics/streamingjobs/TollData
Type:
CsvParserError
Then I stopped the job, and connected to the event hub with a console app and received that:
Message received. Partition: '11', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
85,21/01/2015 10:24:56,QBQ 1188,OR,Toyota,4x4,1,0,4,361203677
Message received. Partition: '11', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
33,21/01/2015 10:25:42,BSE 3166,PA,Toyota,Rav4,1,0,6,603558073
Message received. Partition: '11', Data: 'TollId,EntryTime,LiMessage received. Partition: '10', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
59,21/01/2015 10:23:59,AXD 1469,CA,Toyota,Camry,1,0,6,150568526
Message received. Partition: '10', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
25,21/01/2015 10:24:17,OLW 6671,NJ,Honda,Civic,1,0,5,729503344
Message received. Partition: '10', Data: 'TollId,EntryTime,LicensePlate,State,Make,Model,VehicleType,VehicleWeight,Toll,Tag
51,21/01/2015 10:24:23,LTV 6699,CA,Honda,CRV,1,0,5,169341662
Note the bug on the 3rd message. In my opinion it's unrelated, it could be the writeline that can't keep up with the stream in the console application. And at worst it's in the stream, but then I should see at least some lines in output for the correctly
formatted messages. -
Rounding Differences between TSQL Cast and Data Conversion component
This is using SSIS 2012. We are using an Ole Db Connection manager using the Microsoft.ACE.OLEDB.12.0 provider.
I have an Access database (accdb). It has several columns that are coming into SSIS as real data types. One column has a value of 68.8335558900872.
In the past we used the Data Conversion to convert from real to numeric 18, 6. The result was 68.833555. Rather than rounding on the last decimal place, it is returning the floor at six decimal places.
We have converted the process to load the data into a real data type column and then use a view to cast the value to a Decimal 18,6 (CAST (Col1 as Decimal(18,6))). We then load the data into a decimal 18,6 column. The result is 68.833556, which
is the rounded version of the real value.
Personally I prefer the rounded version rather than the truncated version.
I am trying to explain to explain to the QA people why the revised process is producing different results and thus I want to know if these are known behaviors for TSQL Cast and the Data Conversion component.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.comI think such a post is more suitable for an MS Connect bugs section as I see it a defect. And it seems no floor, but simply cutting off. Try in .Net when you convert, does it work the same? Data Conversion is a wrapper around the .net
Arthur My Blog -
GL Data Conversion from Legacy to Oracle EBS
Hi All,
I am tasked with converting legacy data into GL. I have worked on other conversions like supplier, AR and AP conversions but never worked on GL conversion, so I don't know how and where to start, what are the pre-requisites for entering data into gl_interface table how to ensure that data is correct in the .csv file etc.
Kindly request you all to guide me in right direction. Hope to hear from you all very soon!!! :)
RegardsHi,
When you talk about GL-Data it is the trial balance to be loaded from legacy to oracle applications.
You can use Web-ADI to upload it ,the check list are
The balance for each account comibnation in the legacy system to be mapped to GL-Oracle code combination balance
With respect to open AR, AP Invoices if the invoices are converted using a control account for migration in GL then
the the balance transfered from AP,AR need not be reversed in GL from the source receivables and payables.
In case if the same account combination are for migrating the balances from AP,AR to GL ..Then the balances transferred from AP,AR should be reversed ..so that it does not affect the TB-GL-Balance
Finally ensure that the balance for the TB-tallys with your legacy system and upload it using Web-ADI ,import and
review and post it.
Hope this points helps your GL-Data conversion.
Regards,
Ramaa -
Data conversion strategy for new SOB
Dear Viewers
on 11.5.10
We are creating a new SOB with a change in currency from Feb-11 as this is the requirement
For the same, we need to do data conversion.
I have a confusion for Purchase Orders and Sales Orders
Purchase Orders:
Open purchase orders will be converted, means the unfulfilled PO`s i.e the ones not received and are fully open.
The PO`s which have been recieved but not delivered, Requested the users to clear the intransit receipts.
The PO's which are partially received, what to be done for them?
If a PO is fully received and Delivered will not me converted to the new SOB as its not an open PO
but If invoice comes after Feb-11, than how the matching will be done?
What if a return has to be made moving forward in FEB-11 under new SOB
Sales Orders:
Open sales orders will be converted, that is the ones that have been entered and not yet booked.
Users have been requested to clear off the Sales order lines which are already pick confirmed but not yet shipped, hence they will be shipped and interfaced to AR
For the Sales orders that have been booked, those lines that are not yet processed further will also be converted.
Now what if a receipt comes after feb 11, how to handle this as the sales order wiould not have been converted?
Please give your advise on the data migration strategy for PO`s and SO's.
Please do add any point that may have been missed by me
Appreciate your help
Thanks
EmmHi David,
for master data conversion you can use LSMW and the RE-FX BAPIs. (please refer to SAP note [782947|https://service.sap.com/sap/support/notes/782947] ).
Regards, Franz -
Dear Viewers
on 11.5.10
We are creating a new SOB with a change in currency from Feb-11 as this is the requirement
For the same, we need to do data conversion.
I have a confusion for Purchase Orders and Sales Orders
Purchase Orders:
Open purchase orders will be converted, means the unfulfilled PO`s i.e the ones not received and are fully open.
The PO`s which have been recieved but not delivered, Requested the users to clear the intransit receipts.
The PO's which are partially received, what to be done for them?
If a PO is fully received and Delivered will not me converted to the new SOB as its not an open PO
but If invoice comes after Feb-11, than how the matching will be done?
What if a return has to be made moving forward in FEB-11 under new SOB
Sales Orders:
Open sales orders will be converted, that is the ones that have been entered and not yet booked.
Users have been requested to clear off the Sales order lines which are already pick confirmed but not yet shipped, hence they will be shipped and interfaced to AR
For the Sales orders that have been booked, those lines that are not yet processed further will also be converted.
Now what if a receipt comes after feb 11, how to handle this as the sales order wiould not have been converted?
Please give your advise on the data migration strategy for PO`s and SO's.
Please do add any point that may have been missed by me
Appreciate your help
Thanks
Emmemm wrote:
Purchase Orders:
Open purchase orders will be converted, means the unfulfilled PO`s i.e the ones not received and are fully open.
The PO`s which have been recieved but not delivered, Requested the users to clear the intransit receipts.
The PO's which are partially received, what to be done for them?
If a PO is fully received and Delivered will not me converted to the new SOB as its not an open PO
but If invoice comes after Feb-11, than how the matching will be done? <br>Business needs to take a decision whether they are fine with matching the POs manually (i.e. referring the documents and verify), in this case you may capture the PO information in a DFF in the Invoice distribution. Otherwise if it has to be converted identifying the POs under this scenario, you may consider converting those maintaining receipt close tolerance as 100% and matching type as 2 -way (again business approval needed to handle audit issues) in order to avoid the receipts/delivery conversion etc.<br>
What if a return has to be made moving forward in FEB-11 under new SOB<br>Ideally returns can be done using Miscellaneous/Account Alias Issues specifying the appropriate transaction reasons to clarify the scenario.<br> -
Data Conversion in SAP E-Recruiting.
Hi SAP E-Recruiters,
Our client is using a Legacy application for recruiting candidates where it has 5000 candidates data base (internal and external candidates' applications).
Now they are asking for movement of this whole data to the newly implementing SAP E-recruiting system. We are exploring various data conversion methods and found that BDC, LSMW will not work for E-recruiting data upload as we have every thing in BSP/Web Dynpro pages here.
We need your help in finding a solution for moving this data from legacy to SAP E-Recruiting. Pls do the needful.
Thanks,
SudheerSudheer,
So far there are no SAP delivered migration methods or BAPI's available conversion of candidates/applications, as you have already specified BDC's wouldnot work. Internal candidates always can be brought over in eRecruitment with integration techniques between PA and eRecruit depending upon the landscape.
However, for external candidates custom conversion programs have to be written by making use of methods/function modules that are used in BSP/WebDynpro.
regards
Sridhar -
Crystal Data Conversion Issue (Error converting data type varchar to datetime)
Hi,
I can run stored procedure without error in SQL Server using my personal credentials as well as database credentials.
I can also run Crystal Report after connecting to Stored procedure without error on my desktop using my personal credentials as well as database credentials.
But when I upload the crystal report in BOBJDEV and when I run using database credentials report fails saying that "Error in File ~tmp1d1480b8e70fd90.rpt: Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 18456 ]" but I can run the crystal report successfully on BOBJDEV using my personal credentials.
I googled (Data Conversion Error Message) about this issue & lot of people asked to do "Verify Database" in Crystal Report. So I did that, but when I do it I am getting a error message like this:
Error converting data type varchar to datetime.
Where do you think the error might be occurring? Did anyone faced this kind of issue before? If so, how to resolve it?
(FYI, I am using Crystal Reports 2008, & for stored procedure I have used SSMS 2012 )
Please help me with this issue.
Thanks & Regards.
Naveen.hello Naveen,
since the report works fine in the cr designer / desktop, we need to figure out where you should post this question.
by bobjdev do you mean businessobjects enterprise or crystal reports server? if so please post this question to the bi platform space.
-jamie -
Billing Legacy master & transactional data conversion/migration in SAP ISU
Hi Experts,
Please let me know, in ISU implementation project, what is Billing related Legacy master & transactional data conversion/migration is done in SAP ISU system.
Thanks in advancePankaj,
There is no straight forward transaction to download the Configuration data and export it to a file.
However, you can use the BC set functionality to extract the IMG node with its contents.
Check the following SAP help portal link for more info on BC sets
Business Configuration Sets (BC-CUS) - SAP Library
The archive data that you are talking about; Is it master data or transaction data?
Also, what this data is related to-Financial Documents, Billing related info?
There is one standard transaction SARA through which based on the migration object you can archive the data and export it into a file in a particular location..
Hope it helps..
Thanks,
AB -
Data conversion for New GL - Going live during fiscal year
Hi Experts,
My client is going live on Oct 1 (fiscal year in Jan -Dec). So for data conversion we need to load P&L and BalanceSheet as of Sept 30, 2009. I need your help to resolve few open issues. (we have activated Doc Splitting with Zero Balance and Segment )
1) When we load P&L balances - how can I assign Profit Centers to all these P&L iitems .
2) What is the procedure (best practices) to assign Profit Centers to all the Balance Sheet items since we are going live during Fiscal Year
3) When we process open items (AR, AP) in month of October how the Profit Center assignment will work?
(My client will be using Profit /Cost center terminology first time, so we need to map all the B&S and PnL items to Profit centers)
4) What is the best way to map all the Balance Sheet GL accounts to Profit Centers.
Sorry for asking too many questions. Any help would me very much appreciated.
Thanks,
Sam1) When we load P&L balances - how can I assign Profit Centers to all these P&L iitems .
Each P&L account balance has to be upload with cost centre, then automatically PC will be triggered.
2) What is the procedure (best practices) to assign Profit Centers to all the Balance Sheet items since we are going live during Fiscal Year
Let client decide the profit centre for balance sheet items, since they knows which balance relates to which pc
3) When we process open items (AR, AP) in month of October how the Profit Center assignment will work?
While uploading AR,AP balances, each line item to be uploaded with profit centre, automatically in october PC assignment will work.
(My client will be using Profit /Cost center terminology first time, so we need to map all the B&S and PnL items to Profit centers)
4) What is the best way to map all the Balance Sheet GL accounts to Profit Centers
Try to identify each balance sheet gl balance to each profit centre, this will help in future reports. otherwise put in common pc -
Can anyone Explain about Data conversion for Material master In SAP MM
Can anyone Explain about Data conversion for Material master, Vendor In SAP MM
ThanksHi,
Refer following link;
[Data Migration Methodology|http://christian.bergeron.voila.net/DC_Guide/Data_Migration_Methodology_for_SAP_V01a.doc] -
R/3 Date Conversion problem
How to convert the R/3 Date to Array.
If you are receiving a date field from R/3, please use <b>SimpleDateFormat</b>(class) to re-arrange your date in any fashion. Along with the method <b>format</b> you can just have your date in any format :
DD-MM-YYYY
MM-DD-YY
DD-MMMMM-YYYY (Month will be spelled out as text)
All you need to do is :
SimpleDateFormat sf = new SimpleDateFormat("DD/MM/YYYY");
sf.format(myDateField);
Since R/3 date conversion is usually for this reason, I mentioned the above class.
Regards,
Subramanian V. -
hu guys, recently ive been experiencing a time and date reset bug, sometimes when i open up my computer it says something like your date is set to (i forgot the exact date but the year is 2001) so i change it back to the correct time and date, im not sure how i got the bug, can anyone help me fix this problem, its beginning to be annoying. thanks in advance!!
Sherwin,
Those symptoms indicate that you need to get your backup (PRAM) battery replaced.If your computer does not retain parameter RAM (PRAM) settings when it is turned off, this generally indicates that the battery needs to be changed.;~) -
I am now trying to implement a data conversion logic(such as UOM field), I want to load all the data conversion rules in the cache from file and keep them in the cache. So when mapping starts it just picks up the data conversion rules from the cache.
Using GlobalContainer it is ok for one mapping even several UOM fields(just load from file once). But it will load from file again when the mapping is triggered again.
Is there any logic I can use to implememt the data conversion just load from file once?
Regards,
NickHi Arnold,
normally every input should be made in LC, why you enter the data in group currency?
However if you have to start from group currency the only solution to avoid this error is to put at the end of sprunconversion the ON_ERROR_CONTINUE clause.
But remember he will stop to notify every type of error so you have to be very careful and have this clear in mind when some issue occurs with the currency conversion.
Regards
Roberto -
Hi,
What does a data conversion mean. We are doing a full cycle implementaion.
For example in Cost center accouting do we need to create cost center hierarchy structure as well as all the cost centers master data under the cost center groups or just need to create just the hierarchy not need to create the cost center master day will it be created while they do the data conversion.
Please provide some help.
Thank you!!!!It is csv file ,
start_date end_date
01/08/2014 01/01/2015
01/10/2014
02/02/2015
In SSIS Package , I tried to use Derived Columns i.e database date ,
in expression : (DT_DBDATE)((contract_start_date == (DT_DBDATE)"0001-01-01") ? (NULL(DT_DBDATE)) : ((DT_DBDATE)contract_start_date))
but it failed
What i need to do , please suggest .
Maybe you are looking for
-
Dr Watson Error while trying to Print report
Hi, I generated reports using Reports 6.0, however I'm getting Dr Watson error while tring to print the same. Any solutions to get it fixed will be appreciated. Soumya
-
My camera is working but does not work on skype how do I turn the camera on for Skype
My camer is working but does not work on skype how do I turn the camera on.
-
Starting of Oracle HTTP Server
Hi , I've installed Oracle 9i database, unable to start my Oracle HTTP Server. Mine is a standalone Win2k system, not connecetd to the Internet, doesnt have a modem either. How do i start my Oracle HTTP Server? Thanks in advance, Raj
-
Upgraded my I Mac to version 10.8.4 mountain lion and cannot run adobe flash. Tried uninstalling and still cannot install flash player. After initializing, I get a black box and eventually a message that installation was unsuccessful. Any advice w
-
I am shooting high school basketball video with two Sony HD cameras: 1 camera follows the action on the court, the other stays on the clock. I then use iMovie 11 to superimpose the clock video using Picture-in-Picture onto the game footage. Both came