Skip to main content
MariaDB

Keyboard users: Escape to exit.

SkySQL Documentation / SkySQL Reference / Reference for MariaDB Enterprise Server / Functions / RIGHT()

SkySQL Documentation

  • Quickstart
  • Features and Concepts

Topics:

  • Service Management
  • Connect and Query
  • Data Operations
  • Migration
  • Security
  • SQL Reference

Interfaces:

  • SkySQL Portal
  • DBaaS API
  • Billing
  • Configuration Manager
  • Monitoring
  • Support
  • Workload Analysis

Resources:

  • FAQ
  • Glossary
  • MariaDB ID
  • Reference Tables
  • Release Notes
  • Sample Code

Topics on This Page

  • Overview

  • EXAMPLES

  • CHANGE HISTORY

  • EXTERNAL REFERENCES

Reader Tools

  • Pages that link here
  • Pages linked from here
  • Send Feedback

RIGHT()

This page is part of MariaDB's SkySQL Documentation.

The parent of this page is: Functions

Topics on this page:

  • Overview

  • EXAMPLES

  • CHANGE HISTORY

  • EXTERNAL REFERENCES

Overview

Returns the rightmost len characters from the string str, or NULL if any argument is NULL.

See also: Functions in 10.6 ES, in 10.5 ES, and in 10.4 ES

EXAMPLES

SELECT RIGHT('mariadbmaria', 5);
+--------------------------+
| RIGHT('mariadbmaria', 5) |
+--------------------------+
| maria                    |
+--------------------------+

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES

  • Additional information on this topic may be found in the MariaDB Public Knowledge Base.

  • This page shows information specific to MariaDB SkySQL. Information for non-SkySQL use can be found on the RIGHT() page in the MariaDB Enterprise Documentation.


© 2022 MariaDB. All rights reserved.

Products | Services | Resources

Legal | Privacy Policy | Cookie Policy

| | | Newsletter | About Us | Contact