Experts in Postgres and Open Source Infrastructure

24x7, 365 Enterprise services since 1997

Education

Professional Postgres and Open Source support

Command Prompt, Inc., is the oldest Postgres Company in North America and one of the oldest Open Source firms still operating today. We serve our clients with best in class expertise and professionalism. You can read more about support and services here:


You have landed at the largest single source of Postgres education blogs in the world. At Command Prompt, we believe deeply that the education of the community is critical to the continued success of Postgres and related technologies. We hope you find content you are looking for and don't hesitate to Contact us today for all your Postgres and Open Source consulting and support needs.

PostgreSQL IS NULL Operator/Condition

In Postgres, the IS NULL operator tests whether an expression/column contains a null value. It can be used with different statements, such as SELECT, UPDATE, etc.

PostgreSQL TIMESTAMP: Timestamp Without Time Zone Data Type

The PostgreSQL “TIMESTAMP” or “TIMESTAMP WITHOUT TIME ZONE” data type stores a timestamp value without the time zone information.

PostgreSQL TIMESTAMPTZ: Timestamp With Time Zone Data Type

The PostgreSQL “TIMESTAMPTZ” or “TIMESTAMP With TIME ZONE” data type is used to store a timestamp value that includes the time zone information.

TO_TIMESTAMP: How to Convert a String to TIMESTAMP in PostgreSQL

The TO_TIMESTAMP() in Postgres is a built-in function for converting a string to a timestamp data type. Users can easily manipulate and analyze DateTime information using this function.

IS NOT NULL Operator/Condition in PostgreSQL

In Postgres, the IS NOT NULL operator tests whether an expression or a column contains a non-null value. It is used in a SELECT statement to return only non-null records from a column.

PostgreSQL - How to Insert Data Into a Table Using Python

Use the “connect()” method of “psycopg” module to establish a connection with the Postgres database using python. Next, create a cursor object and execute the INSERT query via the cursor object.

How to Convert the Case of a String in PostgreSQL

In PostgreSQL, the UPPER(), LOWER(), and INITCAP() functions are used for letter case conversion.

PostgreSQL SPLIT_PART Function: Extracting Data From a String

The SPLIT_PART() function accepts three arguments: a string, a delimiter/separator, and a position. Consequently, it retrieves the extracted data from the given string.

How to Group by Date/Time in PostgreSQL

PostgreSQL offers various built-in functions to group data by time, such as the DATE_TRUNC(), EXTRACT(), and DATE_PART() functions.

PostgreSQL Logical Operators: AND, OR, NOT

PostgreSQL has three main logical operators: OR, AND, and NOT. All these operators retrieve a boolean value and are hence also referred to as Boolean operators.