The following table outlines the inbuilt mathematical functions available in SQLite.
Continue readingTag: reference
List of DuckDB Format Specifiers for Date Formats
In DuckDB, we can use functions like strftime()
and strptime()
to format date or timestamp values. These functions accept a format string that specifies how the date or timestamp should be formatted.
The format string consists of one or more format specifiers. For example, '%d/%m/%Y'
is a format string that consists of three format specifiers. The output from that format specifier might look something like 05/09/2050.
Data Types that SQLite Allows for Strict Tables
SQLite is a lightweight, self-contained SQL database engine known for its simplicity and versatility. In version 3.37.0, SQLite introduced strict tables, offering stricter type enforcement compared to its regular tables.
This feature allows developers to define tables with precise data types, ensuring better data consistency.
In this article, we’ll look at the six supported data types for strict tables—INT
, INTEGER
, REAL
, TEXT
, BLOB
, and ANY
—and provide simple examples to illustrate their usage.
List of Array Functions in PostgreSQL
Below is an alphabetical list of functions that we can use when working with arrays in PostgreSQL.
Continue readingList of MySQL Window Functions
Below is a list of functions that can be used as window functions in MySQL.
Some are nonaggregate functions that can only be used as window functions, while others are aggregate functions that can be used as window functions if required.
Continue readingMySQL Aggregate Functions (Full List)
The following table contains a full list of the aggregate functions in MySQL.
Continue readingMySQL JSON Functions & Operators
Below is a list of the JSON functions and operators available in MySQL.
Continue readingMySQL Date & Time Functions (Full List)
The following is a list of date and time functions available in MySQL. Click on each function name to see an explanation of the function, its syntax, and examples.
Continue readingMySQL Date Format Specifiers (Full List)
The following table contains a full list of format specifiers that can be used in format strings with functions like DATE_FORMAT()
, STR_TO_DATE()
, and FROM_UNIXTIME()
in MySQL.
Binary Styles Supported by CONVERT() in SQL Server
Below is a list of binary styles supported by the CONVERT()
function in SQL Server. These are the styles that can be used as the third argument to indicate how the input value is formatted when converting to binary.
We can use these styles when the input expression is binary(n), char(n), varbinary(n), or varchar(n).
Continue reading