Fix: “operator does not exist: integer || integer” in PostgreSQL

If you get the “operator does not exist: integer || integer” error in PostgreSQL, it’s probably because you’re trying to concatenate two numbers.

If you really want to concatenate two numbers, the easiest way to overcome this issue is to cast at least one of them to a string data type first.

Another way to do it is to use the CONCAT() function.

Continue reading

Fix: “BACKUP LOG cannot be performed because there is no current database backup.” in SQL Server/SQL Edge

If you’re trying to back up the transaction logs in a SQL Server or SQL Edge database, but you get an error that states BACKUP LOG cannot be performed because there is no current database backup, you’ll need to perform at least one full backup of the database before you attempt to back up the transaction logs.

Continue reading