Corrupt Time Portion of a DATE column - how can this happen?

DUMP(START_TIME)
gives
'Typ=12 Len=7: 100,99,255,255,0,0,0'
How can this happen? Is there any way to prevent the database from allowing invalid dates to be inserted.
Thanks in advance,
Cade

That's part of the problem. We don't have direct access to the database. I don't know what the equivalent of SQL Server's Query Analyzer or SSMS in Oracle. I'm more of a 'NET and SQL Server developer.
What the group I am helping does is extract the data (from a system they don't control) using Focus. They send a SQL statement and then Focus retrieves the rowset and does what Focus calls a TABLE FILE operation to put it in a Focus file. Because the Focus rowset typing appears to be based on what datatypes Oracle represents the columns as having, Focus then attempts to interpret the date and time as valid. But apparently they are so messed up that Focus actually halts/crashes.
So every morning, they notify the group responsible for the Oracle system to "fix" the records that are bad. They apparently do this by copying the END_TIME to the START_TIME, hopefully with a simple UPDATE query, but perhaps manually with some other tool.
I'm also not a Focus expert, but in experimenting with sending different SQL statements (like using to_char() to identify the bad data) we did eventually find out how to identify these records using DUMP. What I helped the MIS group here do was to change their SQL query to be:
SELECT CASE WHEN DUMP(START_TIME) = 'Typ=12 Len=7: 100,99,255,255,0,0,0' THEN END_TIME ELSE START_TIME END AS START_TIME
FROM etc.

Similar Messages

  • I lost all data in "notes" on both my iPod Touch and my new Ipad within minutes of each other.  How can this happen?

    I lost all data in "notes" on both my iPod Touch and my new Ipad within minutes of each other.  How can this happen?

    Where were the devices doing since the content was there and when you found it missing?
    DId you power it off ond then back on?
    Did you reset the iPod?
    I would try resertting the iPod. Noting is lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • My friend knows my location through find my iphone app without knowing my account password, how can this happens?

    My friend knows my location using find my iphone app without knowing my account password, how can this happens?

    A guess: your friend was standing beside you when this was demonstrated. There are several apps available (all described as "entertainment"). The app was simply showing where your friends iphone was, i.e. Right where you were.  Your position cannot be tracked. The apps are meant for joking.

  • Since converting my mobileme account into an icloud account, my free 5GB of storage has become a paid for extra 20GB without my requesting it. How can this happen, and has anyone else had this happen to them?

    Since converting my mobileme account into an icloud account, my free 5GB of storage has become a paid for extra 20GB without my requesting it. How can this happen, and has anyone else had this happen to them?

    To clarify: you are not being charged for the extra storage - it's complimentary to reflect the fact that you had storage in MobileMe. At the end of June it will disappear unless you care to pay to renew it.

  • Same machine - many MAC and IP addresses.  How can this happen?

    Both my machines show (on WakeonLan) as having more than one IP address and MAC address. This resulted yesterday in my wife's Windows laptop which had a fixed ip address not working because the IP address had recently been adopted by the iMac.
    How can this happen please and can I clean it up?
    iMac and MacBook Pro   Mac OS X (10.4.9)  

    Launch System Profiler in /Apps/Utils/ and see what it says.

  • My apple ID online is different than my apple ID on my iPhone.  How can this happen and how do I fix it?

    My apple ID online is different than my apple ID on my iPhone.  How can this happen and how can I fix it?

    You'll have to get the other person to delete your son's email address.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
     Cheers, Tom

  • Help please - An email address that I rarely used several years ago got reset to someone else's apple ID in place of the email account they used to create their account. How can this happen?

    A friend accused me of switching an email account that I used several years ago to send them photos on Flikr (gmail) for their Apple ID - in other words of.messing with their account. I only used the gmail account to post / send them and several other people photos on a few occasions and have not used the account since. I forgot that I had it. When this friend couldn't access their iTunes account the store discovered that the email had been reset to my very old gmail address. How is this possible? Now, they are accusing me of hacking in although no purchases were made and nothing was done with the account. Still, my reputation is at stake. Could they have done it in error? It looks bad for me. Help please.

    I made up the names edward and daniel, it's not actually anyone's email address, so no need for concern.
    In practice, I'm sure you're right that I would have fewer problems with a longer, more complex email address. But in principal, the problem remains. I could sign up for the Apple ID
    1234.NoOneWillEverUseThisAddress.5678@gmail
    and someone else could sign up for the Apple ID
    1234.NoOneWillEverUseThisAddress.5678+1@gmail
    and apple would have no problem with it, even though for all intents and purposes it's the same email address. So the problem is not just the ambiguity of my, to use Dahveed's words, overly simplistic and unsophisticated, email address:
    there is a fundamental flaw in the way Apple links email addresses to accounts that allows for this ambiguity.  If they followed the same conventions that gmail did, there would be no possibility of this problem.

  • Today my pinned apps, tab groups and history ALL disappeared, and my settings were changed to "Clear history when Firefox closes." How can this happen!?

    I've had several pinned apps, tab groups etc that always reappeared when I closed and opened Firefox. I always had history stored without a problem.
    Today I opened Firefox, and my pinned apps, tab groups, and history were all gone, and the option to Clear history when Firefox closed was checked. I did NOT do that. How could that happen? I definitely need to avoid this happening again!!
    Please help! Thanks!

    If you didn't do that yourself and nobody else has used the computer then an extension may have made that change.
    I see in your list that you have some Norton extensions (toolbars) installed that could cause it, but others may do this as well.
    * [[Troubleshooting extensions and themes]]

  • Just found that someone has called a number with 317 area code numerous times and billed to my number.  How can this happen??

    Was wondering what was going with my time that I purchased and checked my usage and found over several months someone has been calling a number in 317 area code and was being billed to my number

    Every time I make a call it is announced how many minutes remains, I could not believe I was using this many minutes. I checked my usage and found that there were numerous (10's if not 100') calls made to a phone in the 317 area code, using up the most of my minutes over the last several months.
    I don't know any one in this area, (I looked it up online and if  I remember correctly, it is in Indiana)
    I will be glad to send you a copy of my usage.  I work for myself, it will be afterwhile when I can get back with you.
    Thanks so much for helping me
    Jerry

  • The time in my iPhone and in my iCloud account differ precisely one hour. How can this happen?

    I live in Lisbon, Portugal, and my iCloud account is set. to the Greenwich meridean.  However, events in my iPhone Calendar are one hour delayed when compared to the corresponding events appearing in my iCloud account Calendar.  Any explanation as to why this is so?

    Go to icloud.com, sign into your iCloud account, click your name at the top and choose Account Settings, click Time Zone and be sure it is set to a city near you as well as to the correct time zone.  Then open your calendar on icloud.com, click the gear-shaped icon on the bottom left and choose Preferences, click the Advanced tab and make sure you have not checked time zone support at the top.
    Then on your phone go to Settings>Mail,Contacts,Calendars>Time Zone Support (in the Calendars section) and make sure this is set to Off.

  • Using firefox 5 - when ever I try to use the same key more than once in a row, it does not work. Hitting the multiple times does nothing at all. How can this be corrected. HELP!!!

    everything that needs to be done on the keyboard is effected - letters, numbers, backspace, directionals, delete, home, end, page up, page down, '''all keys that are pressed more than once''' It does not matter what webpage I am on.
    PLEASE HELP
    this is very frustrating

    You may have switched on an accessibility feature called FilterKeys by keeping the Shift key pressed for too long.
    * http://www.microsoft.com/enable/products/windowsxp/default.aspx
    *http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/access_filterkeys_turnon.mspx?mfr=true

  • Opening file present in treeview by clicking on it within a table? I had created a table with a row and two columns. in one column i had dislayed treeview and want that if i click on the file in treeview it gets opened in other column. Can this happen?

    I also got a code in some website related to my problem but there are errors in this code that i am not able to understand can you correct those errors:
    using System;
    using System.IO;
    using System.Collections;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Web;
    using System.Web.SessionState;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.HtmlControls;
    using Microsoft.Web.UI.WebControls;
    namespace shark.TreeView
    /// <summary>
    /// Summary description for DocTree.
    /// </summary>
    public class DocTree : System.Web.UI.Page
    protected Microsoft.Web.UI.WebControls.TreeView TreeCtrl;
    public DocTree()
    Page.Init += new System.EventHandler(Page_Init);
    private void Page_Load(object sender, System.EventArgs e)
    if ( ! this.IsPostBack )
    // add tree node "type" for folders and files
    string imgurl = "/shark/webctrl_client/1_0/Images/";
    TreeNodeType type;
    type = new TreeNodeType();
    type.Type = "folder";
    type.ImageUrl = imgurl + "folder.gif";
    type.ExpandedImageUrl = imgurl + "folderopen.gif";
    TreeCtrl.TreeNodeTypes.Add( type );
    type = new TreeNodeType();
    type.Type = "file";
    type.ImageUrl = imgurl + "html.gif";
    TreeCtrl.TreeNodeTypes.Add( type );
    // start the recursively load from our application root path
    // (we add the trailing "/" for a little substring trimming below)
    GetFolders( MapPath( "~/./" ), TreeCtrl.Nodes );
    // expand 3 levels of the tree
    TreeCtrl.ExpandLevel = 3;
    private void Page_Init(object sender, EventArgs e)
    InitializeComponent();
    // recursive method to load all folders and files into tree
    private void GetFolders( string path, TreeNodeCollection nodes )
    // add nodes for all directories (folders)
    string[] dirs = Directory.GetDirectories( path );
    foreach( string p in dirs )
    string dp = p.Substring( path.Length );
    if ( dp.StartsWith( "_v" ) )
    continue; // ignore frontpage (Vermeer Technology) folders
    nodes.Add( Node( "", p.Substring( path.Length ), "folder" ) );
    // add nodes for all files in this directory (folder)
    string[] files = Directory.GetFiles( path, "*.aspx" );
    foreach( string p in files )
    nodes.Add( Node( p, p.Substring( path.Length ), "file" ) );
    // add all subdirectories for each directory (recursive)
    for( int i = 0; i < nodes.Count; i++ )
    if ( nodes[ i ].Type == "folder" )
    GetFolders( dirs[ i ] + "\\", nodes[i ].Nodes );
    // create a TreeNode from the specified path, text and type
    private TreeNode Node( string path, string text, string type )
    TreeNode n = new TreeNode();
    n.Type = type;
    n.Text = text;
    if ( type == "file" )
    // strip off the physical application root portion of path
    string nav = "/" + path.Substring( MapPath( "/" ).Length );
    nav.Replace( '\\', '/' );
    n.NavigateUrl = nav;
    // set target if using FRAME/IFRAME
    n.Target="doc";
    return n;
    #region Web Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    this.Load += new System.EventHandler(this.Page_Load);
    #endregion
    and the design that i got on website for the code that i displayed just above it is
    <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
    <%@ Page language="c#" Codebehind="DocTree.aspx.cs" AutoEventWireup="false" Inherits="shark.TreeView.DocTree" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript (ECMAScript)" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    </HEAD>
    <body>
    <form id="DocTree" method="post" runat="server">
    <table height="100%" cellSpacing="0" cellPadding="8" border="0">
    <tr height="100%">
    <td vAlign="top">
    <iewc:treeview id="TreeCtrl" runat="server" SystemImagesPath="/shark/webctrl_client/1_0/treeimages/">
    </iewc:treeview>
    </td>
    <td vAlign="top" width="100%" height="100%">
    Click on any *.aspx page in the tree and it should load here <iframe id="doc" name="doc" frameBorder="yes" width="100%" scrolling="auto" height="100%">
    </iframe>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </HTML>
    This is my code for viewing treeview but it is not expanding plz help me in this also
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Data;
    using System.IO;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;
    using System.Media;
    using System.Drawing;
    using System.Drawing.Imaging;
    public partial class _Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    if (Page.IsPostBack == false)
    System.IO.DirectoryInfo RootDir = new System.IO.DirectoryInfo(Server.MapPath("~/Files"));
    // output the directory into a node
    TreeNode RootNode = OutputDirectory(RootDir, null);
    // add the output to the tree
    MyTree.Nodes.Add(RootNode);
    TreeNode OutputDirectory(System.IO.DirectoryInfo directory, TreeNode parentNode)
    // validate param
    if (directory == null) return null;
    // create a node for this directory
    TreeNode DirNode = new TreeNode(directory.Name);
    // get subdirectories of the current directory
    System.IO.DirectoryInfo[] SubDirectories = directory.GetDirectories();
    // OutputDirectory(SubDirectories[0], "Directories");
    // output each subdirectory
    for (int DirectoryCount = 0; DirectoryCount < SubDirectories.Length; DirectoryCount++)
    OutputDirectory(SubDirectories[DirectoryCount], DirNode);
    // output the current directories file
    System.IO.FileInfo[] Files = directory.GetFiles();
    for (int FileCount = 0; FileCount < Files.Length; FileCount++)
    DirNode.ChildNodes.Add(new TreeNode(Files[FileCount].Name));
    } // if the parent node is null, return this node
    // otherwise add this node to the parent and return the parent
    if (parentNode == null)
    return DirNode;
    else
    parentNode.ChildNodes.Add(DirNode);
    return parentNode;
    This is my design
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    <style type="text/css">
    .auto-style2
    width: 412px;
    .auto-style3
    width: 174px;
    .auto-style4
    width: 743px;
    .auto-style5
    width: 506px;
    height: 226px;
    </style>
    </head>
    <body>
    <form id="form1" method="post" runat="server">
    <table align:"center" class="auto-style4" border="1" style="table-layout: fixed; border-spacing: 1px">
    <tr>
    <td class="auto-style3">
    <br />
    <br />
    <br />
    <br />
    </td>
    <td class="auto-style2">
    <br />
    <br />
    <br />
    <br />
    </td>
    </tr>
    <tr>
    <td class="auto-style3" valign="top">
    <asp:TreeView Id="MyTree" PathSeparator = "|" ExpandDepth="0" runat="server" ImageSet="Arrows" AutoGenerateDataBindings="False">
    <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" ForeColor="#5555DD"></SelectedNodeStyle>
    <NodeStyle VerticalPadding="0px" Font-Names="Tahoma" Font-Size="10pt" HorizontalPadding="5px" ForeColor="#000000" NodeSpacing="0px"></NodeStyle>
    <ParentNodeStyle Font-Bold="False" />
    <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD"></HoverNodeStyle>
    </asp:TreeView>
    </td>
    <td class="auto-style2">
    <base target="_blank" /> <iframe frameborder="0" scrolling="yes" marginheight="0" marginwidth="0"
    src="" class="auto-style5"></iframe>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    Hi meghage,
    From your code, it is a WebForm project.
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    You can consider posting it in asp.net forum for supports . Thanks.
    ASP.NET: http://forums.asp.net
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can this happen? Quantity Field values are showing doubles in ODS

    Hello BW Gurus,
    I have a staging ODS, on top of it a reporting ODS and a cube. I have loaded the data from flatfile to the staging ODS which looks perfectly fine but coming to the Reporting ODS and the cube, the values in quantity field are doubled. If it was just cube where the values were doubled then I might have thought it could be due to double time loading or may be because of duplicate records. But I can see the Quantity values doubled in reporting ODS (which has Overwrite option).
    Does anyone has any clues? when we had this issue couple of days back - I have deleted the request from Reporting ODS and Cube and re-loaded it which looked perfectly fine.
    But today our issue is back - is it not strange?
    help me if you have any thoughts and thanks so much,
    Swathi.

    Hello Dinesh and Vikash,
    My issue has taken a twist and here is the new problem:
    on Friday the report was fine
    on Saturday the report was fine
    on Sunday we had problems with Reporting ODS as it was  showing all double values. (I cleaned the reporting ODS and Cube and reloaded the data) after that the report worked fine.
    on Monday the report was fine
    on Tuesday again we got duplicate values (for few plants) now in staging ODS as well, which has completely with 'overwrite' option with one to one mapping with no routines.
    I loaded the same file in DEV. and this was working fine?
    I debugged the code that was fine too.
    I think this is a strange Issue.
    Please let me know your ideas,
    Thanks so much,
    Swathi

  • Why does this happens ,,hows it possible that a tab is there and then its not there ,,and then it comes ,,back ,,my iphone 4s ,,was not even connected to net ,,so like how can this happen ,,its not good.

    carrier  tab used to be under location services,,, and then it went somewhere ,,and then it came backk ,,does it happen to everyone?

    What are you talking about?

  • Written notes appear on a Contact appear without my input.  How can this happen?

    An odd message has appeared on the Notes section of a Contact.  I did not put it there and and the Contact knows nothing about it.  What gives?

    looks like I am on my own here

Maybe you are looking for

  • Adobe Form dumps in Web Dynpro ABAP Application but opens up by Report

    Hello Experts, I created a form and tested it by creating a report which contains following code,    call function 'FP_FUNCTION_MODULE_NAME'         exporting           i_name     = lv_form_name "my form name         importing           e_funcname =

  • Issues with Playlists in Encore 2.0 - Wisdom required!

    Hi Guys, I'm seeking some wisdom with regards getting playlists to work in Adobe Encore 2.0 I'm producing a gymnastics training DVD and it's virtually complete.The DVD is essentially 72 exercises in 5 categories with "play all" functions within each

  • Delivery  is accepting material in Blocked & quality inspection stock

    Hi Experts, During delivery ( VL01N) the system asks for Serial Nos for the delivered Material and serial Nos are assigned by going to Extras--> serial Nos. and PGI is completed In this process the system could able to take the serial Nos that are in

  • Exception handling in  Data feeder class

    Hi All, I have written some code in the DATA class feeder.  there i am catching some exception and i am displaying the exception using the message manager. So after catching the exception , its going for dump because , the mo_message , the attribute

  • Data submission format - Tab missing?

    Using LiveCycle Designer > Working with Objects > Using objects > Using buttons > To insert a button that sends an email that includes XML data The help doc that describes how to insert a button that sends email including xml data references a 'Submi