Postgresql

String Manipulation Functions in PostgreSQL

String Manipulation Functions¶ We use string manipulation functions quite extensively. Here are some of the important functions which we typically use. Case Conversion – lower, upper, initcap Getting size of the column value – length Extracting Data – substr and split_part Trimming and Padding functions – trim, rtrim, ltrim, rpad and lpad Reversing strings – …

String Manipulation Functions in PostgreSQL Read More »

Overview of Predefined Functions in PostgreSQL

Overview of Pre-Defined Functions¶ Like any RDBMS, Postgres provides robust set of pre-defined functions to come up with solutions quickly as per the business requirements. There are many functions, but we will see the most common ones here. Following are the categories of functions that are more commonly used. String Manipulation Date Manipulation Numeric Functions …

Overview of Predefined Functions in PostgreSQL Read More »

Predefined Functions in PostgreSQL

Pre-Defined Functions¶ Let us go through the pre-defined functions available in Postgresql. Overview of Pre-Defined Functions String Manipulation Functions Date Manipulation Functions Overview of Numeric Functions Data Type Conversion Handling Null Values Using CASE and WHEN Exercises – Pre-Defined Functions Here are the key objectives of this section. How to use official documentation of Postgres …

Predefined Functions in PostgreSQL Read More »