Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    Oracle Server

    ORACLE DATES - How to use them


    I am pulling data from Oracle into MS-Access, when run all of the date
    fields are just a lot of numbers and not dates, if I link them in
    Access or pass through query it is the same.

    I get numbers like  1178002042  in the date field.

    How do I write the SQL so this NUMBER is returned as date and time
    information ?

    I tried todate() but got errors when I tried to run, is todate() the
    only way or am I missing something ?

    Here is an example...

    SELECT DISTINCT "ref_num", "open_date"
     FROM   "View_Issue_to_Issue_Act_Log"
     WHERE  ("ref_num"='15632407')

    Trying to add criteria to pull records only if open_date is within the
    last two days.

    Thanks

    On May 3, 8:10 am, tracy <usatr@hotmail.com> wrote:

    Access is capable of working with Oracle dates.
    Apparently your dates are not real dates.
    That being said, you post insufficient information
    One would need
    exact version of Oracle
    exact version of Access
    the ODBC driver involved and it's exact version
    The results of DESC <table_name> from Sql*plus.

    Without this information an adequate reply is impossible.
    Right now you could just have well posted 'It doesn't work. Help'

    --
    Sybrand Bakker
    Senior Oracle DBA

    -----------------------------------------------Reply-----------------------------------------------

    tracy <usatr@hotmail.com> wrote in news:1178172606.252558.70190
    @p77g2000hsh.googlegroups.com:

    > I am pulling data from Oracle into MS-Access, when run all of the date
    > fields are just a lot of numbers and not dates, if I link them in
    > Access or pass through query it is the same.

    > I get numbers like  1178002042  in the date field.

    IIRC, these values are standard Unix "epoch" Timestamps
    seconds since 1 Jan 1970 GMT

    Do straight foward math transformation to get into Oracle date datatype

    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc