Skip to content
No results
  • Portfolio
  • Blog
  • Oracle 23ai
  • Oracle APEX
  • Oracle Forms
  • PL/SQL
  • SQL
  • Topics
  • Tools
  • About
  • Write Code
  • SQL Formatter
  • APEX Formatter
  • Roadmaps
    • Oracle APEX Roadmap
    • Oracle Database Roadmap
    • Software Engineering Roadmap
    • AI Developer Roadmap
Simulators & Games
Vinish Kapoor.
  • Portfolio
  • Blog
  • Oracle 23ai
  • Oracle APEX
  • Oracle Forms
  • PL/SQL
  • SQL
  • Topics
  • Tools
Vinish Kapoor.
Simulators & Games
  • Datetime Function, Oracle SQL

Oracle ROUND (Date) Function: A Simple Guide

The ROUND function in Oracle SQL is not just for numbers; it's also a powerful tool for DATE and TIMESTAMP values. When used with dates, ROUND "rounds" a datetime value to the nearest specified unit of time. This is different…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle ORA_DST_ERROR Function: A Simple Guide

The ORA_DST_ERROR function in Oracle SQL is another highly specialized diagnostic tool used by Database Administrators (DBAs). It is part of the toolkit for managing database time zone file upgrades, along with ORA_DST_AFFECTED and ORA_DST_CONVERT. While ORA_DST_AFFECTED gives a simple…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle ORA_DST_CONVERT Function: A Simple Guide

The ORA_DST_CONVERT function in Oracle SQL is a highly specialized tool used by Database Administrators (DBAs) during a database time zone file upgrade. This function is the "fix-it" tool that you use after ORA_DST_AFFECTED has found the problem data. Its…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle ORA_DST_AFFECTED Function: A Simple Guide

The ORA_DST_AFFECTED function in Oracle SQL is a highly specialized diagnostic tool used by Database Administrators (DBAs). This function is not used in regular, day-to-day SQL queries. Its one and only purpose is to help during a database time zone…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle NUMTOYMINTERVAL Function: A Simple Guide

When you need to perform date arithmetic in Oracle involving years or months, the NUMTOYMINTERVAL function is the right tool for the job. This function is the companion to NUMTODSINTERVAL (which handles days, hours, minutes, and seconds). Oracle keeps these…

  • Vinish Kapoor
  • August 11, 2026
  • Datetime Function, Oracle SQL

Oracle NUMTODSINTERVAL Function: A Simple Guide

When working with DATE or TIMESTAMP values in Oracle, you'll often need to add or subtract a specific duration, like "90 days" or "4 hours." While you can add days by just date + 90, this becomes clunky for smaller…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle NEXT_DAY Function: A Simple Guide

The NEXT_DAY function in Oracle SQL is a handy date function that helps you find the date of the next specified day of the week. For example, if it's a Wednesday, you can use NEXT_DAY to find the date of…

  • Vinish Kapoor
  • August 11, 2026
  • Datetime Function, Oracle SQL

Oracle NEW_TIME Function: A Simple Guide

The NEW_TIME function in Oracle SQL is a specific-purpose function used to convert a date and time from one time zone to another. Important Note: This is an older Oracle function and only supports a very limited list of time…

  • Vinish Kapoor
  • August 11, 2026
  • Datetime Function, Oracle SQL

Oracle MONTHS_BETWEEN Function: A Simple Guide

The MONTHS_BETWEEN function in Oracle SQL calculates the precise number of months between two dates. This function is essential for any business logic that involves calculating tenure, age, or time differences in months. It's smart enough to return a whole…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle LOCALTIMESTAMP Function: A Simple Guide

The LOCALTIMESTAMP function in Oracle SQL returns the current date and time (including fractional seconds) based on your session's time zone. The most important thing to know about this function is its data type: it returns a TIMESTAMP, which does…

  • Vinish Kapoor
  • November 7, 2025
  • Datetime Function, Oracle SQL

Oracle LAST_DAY Function: A Simple Guide

The LAST_DAY function in Oracle SQL is a very convenient datetime function that returns the date of the last day of the month for a given date. It's an essential tool for any kind of financial, billing, or end-of-period reporting…

  • Vinish Kapoor
  • August 11, 2026
  • Datetime Function, Oracle SQL

Oracle FROM_TZ Function: A Simple Guide

The FROM_TZ function in Oracle SQL is a straightforward conversion function. Its one and only job is to convert a TIMESTAMP value (which has no time zone information) into a TIMESTAMP WITH TIME ZONE value by "attaching" a time zone…

  • Vinish Kapoor
  • November 6, 2025
  • Datetime Function, Oracle SQL

Oracle FLOOR (Date) Function: A Simple Guide

The FLOOR function in Oracle SQL can be used on numbers, but it also has a version for DATE and TIMESTAMP values. For dates, FLOOR "rounds down" the datetime to the unit you specify. Here is the most important thing…

  • Vinish Kapoor
  • November 6, 2025
  • Datetime Function, Oracle SQL

Oracle EXTRACT (Date/Time) Function: A Simple Guide

The EXTRACT function in Oracle SQL is a powerful tool for "pulling out" a single, specific part from a date or timestamp. Want just the YEAR from a DATE? Or the HOUR from a TIMESTAMP? EXTRACT is the function you…

  • Vinish Kapoor
  • November 6, 2025
  • Datetime Function, Oracle SQL

Oracle DBTIMEZONE Function: A Simple Guide

The DBTIMEZONE function in Oracle SQL is a simple function that returns the time zone setting of the database itself. This is different from SESSIONTIMEZONE, which returns the time zone of your current user session. DBTIMEZONE shows the default time…

  • Vinish Kapoor
  • August 11, 2026
  • Datetime Function, Oracle SQL

Oracle CURRENT_TIMESTAMP Function: A Simple Guide

The CURRENT_TIMESTAMP function in Oracle SQL returns the exact current date, time, and time zone of your SQL session. Its key feature is that it returns a TIMESTAMP WITH TIME ZONE data type. This means the output includes not just…

  • Vinish Kapoor
  • November 6, 2025
  • Datetime Function, Oracle SQL

Oracle CURRENT_DATE Function: A Simple Guide

The CURRENT_DATE function in Oracle SQL is a simple function that returns the current date and time based on your session's time zone. A common point of confusion is its name. Despite being called CURRENT_DATE, the DATE data type in…

  • Vinish Kapoor
  • August 11, 2026
  • Datetime Function, Oracle SQL

Oracle CEIL (Date) Function: A Simple Guide

The CEIL function in Oracle SQL can be used on numbers, but it also has a powerful version for DATE and TIMESTAMP values. In this context, CEIL "rounds up" a datetime value to the next specified unit of time. This…

  • Vinish Kapoor
  • November 6, 2025
Prev1 … 12 13 14 15 16 17 18 … 40Next
No more posts to load

Copyright © 2024-2026 - Vinish.Dev - and it is not affiliated with, nor sponsored by, Oracle Corporation.

  • Contact
  • Privacy Policy
  • Cookie Policy