JIYIK CN >

Current Location:Home > Learning >

All

PostgreSQL DATEDIFF function

Publish Date:2025/04/09 Author:JIYIK Category:PostgreSQL

Unlike SQL Server, PostgreSQL does not have a built-in DATEDIFF function to calculate the difference between dates. However, you can use expressions that include other functions provided by PostgreSQL to obtain the difference between dates....

Full

PostgreSQL insert into select

Publish Date:2025/04/09 Author:JIYIK Category:PostgreSQL

PostgreSQL insert into select

In this tutorial, we will learn how to insert data from a database hosted on a remote server into a database in our local computer. We will use the remote service provider Heroku PostgreSQL, which offers a free plan for testing purposes. In...

Full

PostgreSQL Extract date from timestamp

Publish Date:2025/04/09 Author:JIYIK Category:PostgreSQL

PostgreSQL provides many functions and operators for built-in data types. This tutorial will give an example of extracting the date from a timestamp in PostgreSQL or Postgres. CAST Extracting the date from a timestamp using the operator in...

Full

Subtract one day from a timestamp date in PostgreSQL

Publish Date:2025/04/09 Author:JIYIK Category:PostgreSQL

Before we begin, let's define what a timestamp is in SQL. From the PostgreSQL documentation under the DATE/TIME heading, a timestamp is a data type that stores a date and time in the following format. YYYY-MM-DD hh:mm:ss (DATE | TIME) The s...

Full

Using multiple WITH statements in one PostgreSQL query

Publish Date:2025/04/09 Author:JIYIK Category:PostgreSQL

with Statements are used to create temporary tables, which means that these tables are not persisted in the database and exist only in memory until the query is completed. The statement was introduced with to break down complex queries into...

Full

Mac system uses clion to remotely debug redis4 source code

Publish Date:2025/04/09 Author:JIYIK Category:Redis

The remote host uses the Linux system. The first step is definitely to establish a code synchronization mechanism on the local and remote hosts - sftp is the first choice. The second step is to write the CMakeLists.txt file of redis4. There...

Full

How to use clion to debug redis source code on mac system

Publish Date:2025/04/09 Author:JIYIK Category:Redis

clion mainly uses cmake + make for compilation. So for redis4, the main thing is to write the CMakeLists.txt file first. CmakeLists.txt file redis4/CMakeLists.txt cmake_minimum_required (VERSION 3.15 ) project (redis4) set (CMAKE_BUILD_TYPE...

Full

Redis installation method and common problem solving under centos

Publish Date:2025/04/09 Author:JIYIK Category:Redis

In this article, we will introduce how to install redis under CentOS. In fact, the installation steps are very simple, but there may be some problems in the middle, which is worthy of our attention. Let's take a look at how to install it. F...

Full

Redis password verification command AUTH

Publish Date:2025/04/09 Author:JIYIK Category:Redis

Redis has not made much optimization in terms of security, but has made great efforts in terms of performance and ease of use. A very simple security method for Redis is password verification, which requires the use of the AUTH command. Let...

Full

Apache2.4 installation and precautions under Windows7

Publish Date:2025/04/08 Author:JIYIK Category:OPERATING SYSTEM

Apache2.4 installation and precautions under Windows7

To install apache2.4 in Windows 7, we first need to download the apache2.4 installation program. Here we download the software from the apache official website http://httpd.apache.org/download.cgi . First, let's see how to download apache2....

Full

Linux split command split

Publish Date:2025/04/08 Author:JIYIK Category:OPERATING SYSTEM

The split command, as a member of the pipeline command family, is used to split a large file into many small files. Sometimes, in order to improve readability, it is necessary to split a file into smaller fragments. Let's take a look at the...

Full

Linux filter control character command expand

Publish Date:2025/04/08 Author:JIYIK Category:OPERATING SYSTEM

The expand command converts the tab key into a space character. It is a member of the pipeline command family. Regarding expand, we will introduce an option -t NUM Convert the tab key to NUM spaces instead of the default 8 spaces. Same as c...

Full

Linux filter control character command col

Publish Date:2025/04/08 Author:JIYIK Category:OPERATING SYSTEM

The function of the col command is to filter control characters. It is also a member of the pipeline command family. In many UNIX description files, there are RLF control characters. When we use the shell special characters "" and "" to out...

Full

Linux connection command join

Publish Date:2025/04/08 Author:JIYIK Category:OPERATING SYSTEM

The join command is also a member of the pipeline command family. Its function is to connect the data of those rows with equal columns (that is, the first column) in each file. First we prepare two files /tmp/join1 and /tmp/join2. # cat /tm...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial