Below is a full list of the format elements that can be used to format numbers in Oracle Database.
Object-Relational
Find Out Which Quarter a Date Belongs to in Oracle
When using the TO_CHAR(datetime) function in Oracle Database, you can use the Q format element to return the quarter that a given date belongs to.
List of Languages Supported by Oracle Database
The following table contains a list of territories that are supported by Oracle Database.
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.
Fix: “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.
How 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).
BIN_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.
Fix “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.