Find All Non-Numeric Values in a Column in MariaDB

If you ever encounter a character column that should be a numeric column, there’s always a possibility that it contains non-numeric data that you don’t know about.

In MariaDB, you can run a query like the following to return non-numeric data from the column.

Read more

3 Ways to Create a Table if it Doesn’t Already Exist in Oracle

The very useful CREATE TABLE IF NOT EXISTS syntax was finally introduced in Oracle Database – Oracle Database 23c to be precise. This syntax allows us to run a CREATE TABLE statement without getting an error if the table already exists.

Earlier versions of Oracle don’t support the IF NOT EXISTS clause, and so if we want to avoid any nasty errors resulting from trying to create a table that already exists, we need to do a bit of extra work.

Read more