The following table contains a list of territories that are supported by Oracle Database.
Continue readingCategory: Oracle
How to Install Oracle Database on Windows
Below are the steps I used to install Oracle Database 18c XE on Windows 10.
Oracle Database 18c XE is the free Express Edition of Oracle. This is a good entry point into Oracle Database. XE is a regular Oracle Database, and it therefore provides compatibility with other Oracle Database editions. You can always move to another edition if you ever need to.
Continue readingFix: “the leading precision of the interval is too small” in Oracle Database
If you’re trying to use an interval literal in Oracle, but you keep getting the “leading precision of the interval is too small” error, hopefully this helps.
Continue readingHow to Get the Day Name from a Date in Oracle
With Oracle Database, we can use the TO_CHAR(datetime)
function to return a datetime value, formatted in a way that we specify.
We can use this function to return the day name from a date (as well as any other parts of the datetime value).
Continue readingBIN_TO_NUM() Function in Oracle
In Oracle Database, the BIT_TO_NUM()
function converts a bit vector to its equivalent number.
ASCIISTR() Function in Oracle
In Oracle Database, the ASCIISTR()
function returns an ASCII version of the given string in the database character set.
2 Ways to Get the Day from a Date in Oracle
Below are two functions that can be used to return the day from a date in Oracle Database.
Continue readingFix “Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!”
I recently tried to install QEMU on my M1 Mac but received the “Cannot install in Homebrew on ARM processor in Intel default prefix” error.
Here’s how I fixed the issue.
Continue readingOracle Datetime Functions (Full List)
Below is a full list of datetime functions available in Oracle Database.
Continue readingTRUNC(date) Function in Oracle
In Oracle Database, the TRUNC(date)
function returns the given date value with the time portion of the day truncated to the unit provided in the specified format model.
Oracle also has a TRUNC(number)
syntax, which is used on numbers. This article is solely about the TRUNC(date)
syntax, which is used on dates.