Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (143)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (298)

Author: Ian

Redis PEXPIRE Command Explained

Posted on June 23, 2022June 27, 2022 by Ian

The Redis PEXPIRE command sets a timeout on a given key in milliseconds. After the timeout has expired, the key will be deleted.

The PEXPIRE command works exactly the same as the EXPIRE command, except that it returns the timeout in milliseconds instead of seconds.

Continue reading →
Redis commands, what is

Redis EXPIRE Command Explained

Posted on June 23, 2022June 27, 2022 by Ian

The Redis EXPIRE command sets a timeout on a given key in seconds. After the timeout has expired, the key will be deleted.

Redis also has a PEXPIRE command that works the same as EXPIRE, except that it returns the timeout in milliseconds instead of seconds.

A key with a timeout is said to be volatile in Redis terminology.

Continue reading →
Redis commands, what is

Find Rows that Contain Uppercase Characters in SQL

Posted on June 22, 2022 by Ian

Most RDBMSs provide at least a few ways to return rows that contain uppercase characters. Here are some options available in the major RDBMSs.

Continue reading →
MariaDB, MySQL, Oracle, PostgreSQL, SQL, SQL Server, SQLite how to, sql

Redis STRLEN Command Explained

Posted on June 22, 2022 by Ian

In Redis, the STRLEN command returns the length of the string stored at a given key.

Continue reading →
Redis commands, string, what is

Redis PSETEX Command Explained

Posted on June 21, 2022 by Ian

The Redis PSETEX command sets a key to hold a given string value, and sets that key to time out after a given number of milliseconds.

Continue reading →
Redis commands, string, what is

Redis SETEX Command Explained

Posted on June 21, 2022 by Ian

In Redis, the SETEX command sets a key to hold a given string value, and sets that key to time out after a given number of seconds.

Continue reading →
Redis commands, string, what is

Redis APPEND Command Explained

Posted on June 20, 2022 by Ian

In Redis, the APPEND command appends a given value to the end of the value of a specified key.

If the key doesn’t exist, APPEND creates the key with the empty string and appends the value to it (so it basically works like the SET command in this case).

Continue reading →
Redis commands, string, what is

How to Get the First Day of the Month in Oracle

Posted on June 20, 2022 by Ian

Here’s an example of returning the first day of a given month in Oracle Database. We can return the first day of the current month, a previous or later month, or the first day of a month based on a specified date.

Continue reading →
Oracle dates, how to

Redis GETDEL Command Explained

Posted on June 19, 2022 by Ian

The Redis GETDEL command gets the value of a given key, then deletes that key. It’s similar to the GET command, except that it deletes the key on success (the GET command doesn’t delete the key – it only returns its value).

An error is returned if the value stored at key is not a string.

The GETDEL command was introduced in Redis 6.2.0.

Continue reading →
Redis commands, string, what is

Redis DEL Command Explained

Posted on June 19, 2022 by Ian

In Redis, the DEL command removes one or more keys. If a specified key doesn’t exist, it’s ignored.

Continue reading →
Redis commands, string, what is
  • «
  • 1
  • …
  • 129
  • 130
  • 131
  • 132
  • 133
  • …
  • 389
  • »

About Database.Guide | Privacy Policy