Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6858405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:09:16+00:00 2026-05-27T02:09:16+00:00

Is there MySQL equivalent to Oracle’s TIMESTAMP WITH TIME ZONE? I need to map

  • 0

Is there MySQL equivalent to Oracle’s TIMESTAMP WITH TIME ZONE?

I need to map a Oracle table, which has some columns with that datatype, into a MySQL table but I can’t seem to find an easy way to do this without resorting to some MySQL functions.

Thanks and best regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:09:16+00:00Added an answer on May 27, 2026 at 2:09 am

    No, you’ll need to split the data into 2 columns, one a datetime, and the other holding the timezone information. But what you put in the latter field is dependant on what you’ve got stored in Oracle – the TIMESTAMP WITH TIME ZONE Datatype can contain the TZ offset and (optionally) the time zone region. Obviously the latter is a requirement for the date time to be semantically correct, but IIRC Oracle does not enforce this data being populated.

    without resorting to some MySQL functions

    Since MySQL doesn’t have the datatype, it’ll be very difficult to write MySQL function to process it – it’s a lot simpler to create a MySQL compatible representation in Oracle where the datatype is supported. You just need to work out what data you’ve actually got and decide how you want to represent it in MySQL. By convention that means storing it in UTC along with the TZ in a seperate column, then convert it on selection with the convert_tz function (always from UTC)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there an equivalent of oracle's rowid in mysql? delete from my_table where rowid
Is there any equivalent to MySQL's SHOW CREATE TABLE <tablename> in informix? I would
Is there an easy way to turn a mysql table into a redis equivalent?
Is there an equivalent to Oracle's describe_procedure (which returns resultset of all parameters) for
Is there a Python equivalent of PHP's mysql_real_escape_string ? I'm trying to insert some
Is there a MySQL command to count the number of rows in a table,
I need to design database for SQL Server, is there any MySQL workbench like
Are there any popular Mysql rss feeds you guys can recommend? IBM has random
I just was wodering if there's an equivalent to MySQL LOAD DATA INFILE statemnent
Using MySql 5, I have a task where I need to update one table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.